Primitive data types
- Number: This includes floating point numbers as well as integers. For example, these values are all numbers:
- String: These consist of any number of characters, for example
"one 2 three".
- Boolean: This can be either
- Undefined: When you try to access a variable that doesn't exist, you get the special value
undefined. The undefined data type can only have one value – the special value
- Null: This is another special data ...