Back to Web Development
19 Questions Total

Advanced JavaScript MCQs

Topic-wise practice questions for Web Development. Test your knowledge, check solutions on demand, and pace your preparation.

Zero-leak answer engine • Rate-limited explanations
Practice in Timed Mode
Q1easy
What will be the value of this inside the arrow function?
Q2medium
Why would a developer use a Generator Function (function*) instead of a standard function?
Q3easy
What is the purpose of the Spread syntax in object literals? event_loop.js

console.log('1');
setTimeout(() => console.log('2'), 0);
console.log('3');
Q4easy
What is the value of y in this destructuring assignment?

const [x, , y] = [10, 20, 30, 40];
Q5easy
What is the "Temporal Dead Zone" (TDZ)?
Q6easy
What does the Object.freeze() method do?
Q7easy
What is the "Proxy" object in JS?
Q8easy
What is the main purpose of the Prototype Chain in JavaScript?
Q9easy
What is the primary difference between Class syntax in ES6 and older Prototype-based JS?
Q10easy
What does this spread operator code produce?