Question Bank
3705 approved questions from the community
Event delegation allows you to attach a single event listener to a parent element to handle events for multiple child elements.
Arrow functions have an arguments object.
isNaN() checks if a value is NaN.
JSON.stringify() can serialize functions.
Arrow functions in JavaScript have their own 'this' binding.
Anonymous functions can only be used as callback functions.
Which method prevents the default behavior of an event?
ES6 classes are fundamentally different from ES5 function constructors.
What does Array.prototype.join() do?
What is event capturing?
What is the same-origin policy?
Property descriptors allow you to control the writable, enumerable, and configurable attributes of object properties.
localStorage data persists even after the browser is closed.
The const keyword prevents any changes to the variable's value.
Template literals can span multiple lines without special characters.
Object.freeze() makes an object completely immutable including nested objects.
async/await makes asynchronous code look more like synchronous code.
What are getters and setters used for?
What are proxies in JavaScript used for?
What are Web Workers used for?