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