JavaScript Data Types Flashcards

1
Q

String

A

is a series of characters like “John Doe”.

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

Numbers

A

can be written with, or without decimals no quotes

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

Boolean

A

A single value of either TRUE or FALSE

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

Undefined

A

a variable without a value, has the value _________. The type is also ___________. Any variable can be emptied, by setting the value to _______________

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

Null

A

is “nothing”. It is supposed to be something that doesn’t exist. Unfortunately, in JavaScript, the data type of ______ is an object. You can empty an object by setting it to _____

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