typeof el js code example
Example 1: typeof in js
var someValue = 'this is string';
console.log(typeof(someValue)); // this will return string
Example 2: typeof javascript
console.log(typeof 'blubber');
var someValue = 'this is string';
console.log(typeof(someValue)); // this will return string
console.log(typeof 'blubber');