Event Loop, Arrow Functions, Array Higher-Order Methods, DOM Manipulation, Promises & Async/Await.
const courses = [
{ id: 1, name: 'C Language', fee: 2500 },
{ id: 2, name: 'Core Java', fee: 4000 },
{ id: 3, name: 'Python', fee: 3500 }
];
// Filter courses > 3000 & Map names
const premiumNames = courses
.filter(c => c.fee > 3000)
.map(c => c.name.toUpperCase());
console.log('Premium Courses:', premiumNames);
const fetchStudentData = async (studentId) => {
try {
const response = await fetch(`https://telugututorial.in/api/student/${studentId}`);
if (!response.ok) throw new Error('Student record not found');
const data = await response.json();
console.log('Loaded Profile:', data);
} catch (err) {
console.error('Fetch Failed:', err.message);
}
};
reduce() to sum numbers in an array.