10 questions · JavaScript · beginner level
What does typeof null return?
Which of the following is NOT a primitive type in JavaScript?
What will this code output?
var x = 1 function foo() { var x = 2 console.log(x) } foo() console.log(x)
Sign in to attempt all 10 questions, track your progress, and unlock AI-powered personalization.