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