NaN === NaN // false
Number.MIN_VALUE> 0;
// true? really? wtf.
// It turns out that MIN_VALUE is the smallest number
// GREATER THAN ZERO, which of course totally makes sense.
parseInt('06'); // 6
parseInt('08'); // 0
// remember to pass in the radix!
typeof null // object
null === Object // false
function dump(obj) {
var out = '';
if(obj && typeof(obj) == 'object'){
for (var i in obj) {
out += i + ": " + obj[i] + "\n";
}
}
else out = obj;
alert(out);
}