double glider for sets of data javascript code example
Example 1: js data types
//There are 7 data types in JS
//They're split in two categories - (Primitives and Complex Types)
//Primives
string, number, boolean, null, undefined
//Complex types
Object, Function
Example 2: data types in javascript
1, 1.0 // Number
'String', "String"
true, false // Boolean
{id: 1;} // Object
[1, 2, 3] // Array