examples/javascript/typeof.js
a = 2
console.log(typeof a); // number
b = "2"
console.log(typeof b); // string
c = true;
console.log(typeof c); // boolean

d = [1, 2, 3];
console.log(typeof d); // object

e = new Array;
console.log(typeof e); // object

f = { "fname" : 'Foo', "lname" : 'Bar' };
console.log(typeof e); // object