A string is data type used to represent text.
- "My favorite string is string cheese"
- "Strings are part of any orchestra"
- "The string beans are ready"
var greeting = "Hello, I am Dave."
An integer is a whole number.
A float is a number with a decimal
- 3.14159
- 10.10
- -65.342
var weight = 3.2
A boolean is a true/false
- True
- False
An array is a group of things
- ["Lizards", "Wizards", "Gizzards"]
- [10, 20, 30, 40]
- [true, true, false, true, false, true, false]
var myFavCats = ['Zora', 'Milo', 'Sox', 'Mr. Bill']