JavaScript Data Types Flashcards
1
Q
String
A
is a series of characters like “John Doe”.
2
Q
Numbers
A
can be written with, or without decimals no quotes
3
Q
Boolean
A
A single value of either TRUE or FALSE
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 _______________
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 _____