Back
JavaScript Quiz
Pass with 7 / 10 to unlock your certificate.
1. What is the output of: console.log(typeof null)?
2. Which of these creates a true block-scoped variable?
3. What does [] + [] evaluate to in JavaScript?
4. Which method returns a new array without mutating the original?
5. What is the result of: 0.1 + 0.2 === 0.3?
6. Which keyword guarantees a function call's `this` value?
7. What does Promise.all reject with?
8. Which is NOT a valid way to clone an object shallowly?
9. What is hoisting?
10. Which event loop phase runs setTimeout callbacks?