Question Bank
3705 approved questions from the community
Which statements about lexical scoping are true? (Select all that apply)
Which are valid ways to iterate over an object's properties? (Select all that apply)
Which array methods do NOT mutate the original array? (Select all that apply)
Which of the following are truthy values in JavaScript? (Select all that apply)
Which tools are commonly used for debugging JavaScript? (Select all that apply)
Which of the following are valid ways to create objects in JavaScript? (Select all that apply)
What is the main difference between null and undefined?
Which storage mechanisms are available in browsers? (Select all that apply)
Which of the following are primitive data types in JavaScript? (Select all that apply)
What value does 'this' refer to in a global context (non-strict mode)?
What does the event loop do in JavaScript?
What is the difference between == and === in JavaScript?
What is the microtask queue?
What is the difference between Promise.all() and Promise.allSettled()?
What does Array.prototype.filter() return?
What does Array.prototype.reduce() do?
What is the prototype chain?
How do you check if a property exists in an object?
What is an Immediately Invoked Function Expression (IIFE)?
What is the difference between innerHTML and textContent?