var x = new Boolean(false); if (x) ... else...;
Is the 'if' or 'else' branch taken?
var x = "hi", y = new String("hi");
what is the typeof(x) and typeof(y) ?
Edit:..
parseInt("017") produces 15 (octal) instead of 17
The 'Error' object is a different signature from IE to Firefox.
When using objects as hashmap's, you need to use object.hasOwnProperty(key) to ensure that the property is not inherited through the prototype chain.