Skip to content
0 / 0 answered

JavaScript Quirks Quiz

Fun facts and surprising corners of JavaScript — every developer has encountered these.


What does typeof null return in JavaScript?
What is the result of 0.1 + 0.2 === 0.3 in JavaScript?
Which of these values are falsy in JavaScript?
What does [] + [] evaluate to?
What is NaN === NaN in JavaScript?
Which Array method returns a new array without modifying the original?
What keyword would you type to access the value of an awaited Promise inside an async function?

Type your answer

What is the output of typeof undefined?

Type your answer

Released under the GPL-3.0 License.