typeof () javascript code example
Example 1: type javascirpt
console.log(typeof 42);
Example 2: typeof in js
typeof("iAmAString");//This should return 'string'
//NO camelCase, as it is a JS Keyword
console.log(typeof 42);
typeof("iAmAString");//This should return 'string'
//NO camelCase, as it is a JS Keyword