12 Flashcards

(5 cards)

1
Q

Data Types in JS

A

Number
String
Boolean
Undefined
Null
(Symbol)
BigInt

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

Dynamic Typing

A

Data types are determined automatically

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

typeof x

A

returns type of x

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

typeof null

A

object
(bug in JS)

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

typeof undefined

A

undefined

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