Question Bank
3705 approved questions from the community
What is a Generator function?
What does the Symbol type represent?
What is a Proxy in JavaScript?
What is the difference between Map and Object?
What is a Set in JavaScript?
What is WeakMap?
What are template literals?
What does the spread operator (...) do with arrays?
What are default parameters?
What is the difference between class and function constructor?
What is a static method in a class?
What are getters and setters?
What does try...catch do?
How do you create a custom error?
What does console.log() do?
What is the output of: console.log(typeof typeof 1)?
What is event bubbling?
What is the difference between event.preventDefault() and event.stopPropagation()?
'use strict' makes it impossible to accidentally create global variables.
The fetch() API is only available in browsers, not in Node.js.