NANDHOO
.
Learning Paths
Dashboard
Sign In
Home
Dashboard
Basic JavaScript: A Comprehensive Guide
Variables & Data Types: Storing Information
Quiz
Chapter Quiz: Variables & Data Types: Storing Information
Variables & Types Quiz
Complete this assessment with 100% score to master this chapter.
01
Which keyword should you use for a variable that will NOT change?
let
var
const
fixed
02
What is the result of typeof '123'?
number
string
boolean
undefined
03
What does typeof null return in JavaScript?
null
undefined
object
empty
04
Which of the following is a FALSY value in JavaScript?
[]
{}
"0"
0
05
Two arrays with identical contents are compared using ===. What is the result?
true, because the contents are the same
false, because they are different references
An error is thrown
undefined
Submit Answers
Back to Lesson
Next Chapter