JavaScript specials Flashcards
1
Q
a semicolon is needed after function declaration
//true or false
A
false
its not needed
2
Q
what are the 8 data types?
A
number
bigint
string
boolean
null
undefined
object / symbol
3
Q
The ______ construct can replace multiple if checks. It uses === (strict equality) for comparisons.
A
“switch”