console.log(typeof "how are you?")
"string"
console.log(typeof false) / console.log(typeof true)
"boolean"
console.log(typeof 100)
"number"
let store = [1,2,3]; console.log(typeof store);
var trueTypeOf = function (obj) {
return Object.prototype.toString.call(obj).slice(8, -1).toLowerCase();
};
// Returns "array"
trueTypeOf([]);
// Returns "date"
trueTypeOf(new Date());
if(typeof variable == 'object'){
//
}