Javascript: Simple Data Types
Datatypes are the types of values allowed in a programming language. Javascript has three "Simple" data types: String, Number, Boolean, Undefined, and Null.
Data Type | Example |
---|---|
String | "Joe", "Joe's", 'Joe' |
Numeric | 1, 100000, 0.9, 3.14 |
Boolean | true false |
We'll get to the last two in a minute.