Question Bank
1085 approved questions from the community
Which of the following are valid ways to create objects in JavaScript? (Select all that apply)
Which of the following are truthy values in JavaScript? (Select all that apply)
Which array methods do NOT mutate the original array? (Select all that apply)
Which are valid ways to iterate over an object's properties? (Select all that apply)
Which are falsy values in JavaScript? (Select all that apply)
Which are benefits of template literals? (Select all that apply)
Which are valid console methods? (Select all that apply)
Array.prototype.splice() modifies the original array.
Array.prototype.slice() modifies the original array.
Cookies can be accessed by JavaScript using document.cookie.
What is the difference between .call() and .apply()?
The finally block executes regardless of whether an error occurs.
The rest parameter (...) collects remaining arguments into an array.
Set automatically removes duplicate values.
What is the difference between == and === in JavaScript?
What does the event loop do in JavaScript?
What does 'new' keyword do when used with a function?
What is the difference between synchronous and asynchronous functions?
What does AJAX stand for?
What is the spread operator used for?