JavaScript, We Hardly new Ya  By Douglas CrockfordNovember 13th,
2006  JavaScript is a prototypal language, but it has a new
operator that tries to make it look sort of like a classical
language. That tends to confuse programmers, leading to some
problematic programming patterns.  You never need to use new
Object() in JavaScript. Use the object literal {} instead.
Similarly, don’t use new Array(), use the array literal []
instead. Arrays in JavaScript work nothing like the arrays in
Java, and use of the Java-like syntax will confuse you.  Do not
use new Number, new String, or new Boolean. These forms produce
unnecessary object wrappers. Just use simple literals instead.
Do not use new Function to create function values. Use function
expressions instead. For example,  frames[0].onfocus = new
Function("document.bgColor='antiquewhite'")  is better written
as  frames[0].onfocus = function () {document.bgColor =
'antiquewhite';};  The second form allows the compiler to see
the function body sooner, so any errors