JavaScript in 60 Seconds

Data Types

In JavaScript there are different types of information you can store. These are called data types.

These are the most common JS Data Types:

3 // number "Hello my friend" // string true // boolean. Can be true or false [30,60,"oranges","apples",100,1] // an array {color: "blue", age: 30} // an object undefined null

We’ll take a look at each over the next few lessons.