Object vs Literal when performing object operations
The lesson here is to always use the object literal notation. But you already knew that.
var literal = ,
arr = new Array();
Warning! For accurate results, please disable Firebug before running the tests. (Why?)
Java applet disabled.
You can edit these tests or add even more tests to this page by appending
/edit to the URL.