SO - 29360290
by Arun P Johny
JavaScript
var name = 1;
console.log(typeof name); // this will alert "string"
var status = 1;
console.log(status, typeof status); //gives '1` and string
var status = {};
console.log(status, typeof status);//gives value of status as [object Object] since that is the toString() implementation of object
var b = 1;
console.log(typeof b); //