JavaScript specials Flashcards

1
Q

a semicolon is needed after function declaration

//true or false

A

false

its not needed

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

what are the 8 data types?

A

number
bigint
string
boolean
null
undefined
object / symbol

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

The ______ construct can replace multiple if checks. It uses === (strict equality) for comparisons.

A

“switch”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly