Question Bank
1899 approved questions from the community
Which of the following are primitive data types in JavaScript? (Select all that apply)
Which tools are commonly used for debugging JavaScript? (Select all that apply)
Which statements about lexical scoping are true? (Select all that apply)
Which methods can be used to make HTTP requests? (Select all that apply)
What does Array.prototype.findIndex() return?
What is dynamic import?
What is the difference between CommonJS and ES modules?
Debouncing delays function execution until after a wait period.
Babel is a popular JavaScript transpiler.
What is a callback hell?
Private class fields in JavaScript start with #.
Class declarations are hoisted.
Generator functions use function* syntax.
Web Workers have access to the DOM.
Object.assign() performs a deep copy of objects.
What is Cross-Origin Resource Sharing (CORS)?
What is the difference between document.load and document.DOMContentLoaded?
Regular expressions in JavaScript can match patterns across multiple lines.
window and document are the same object.
What is the difference between debouncing and throttling?