Text, using ""; for example:
- "My name is Bailey"
- "I live in Denver, CO."
Integers int
are numbers.
- 103
- 18
- 6
Floats are numbers with decimal points.
- 1.5
- 5.875
- -9.1
True or False
Comparison | Boolean Value |
---|---|
4 > 2 | True |
11 == 3 | False |
Arrays are a list/collection of variables var
that are related to one another.
var = pop ["Coca Cola", "Mountain Dew", "Sprite", "Pepsi", "Dr. Pepper"];
console.log(pop);