javascript 1 type code example
Example 1: type javascirpt
console.log(typeof 42);
Example 2: 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