Possible Duplicate:
What's the difference between Array(1) and new Array(1) in JavaScript?
In javascript, how are these two different?
var arr = Array();
var arr2 = new Array();
If they are the same according to JS standards, are there any browsers that treat both ways differently?
According to ECMA-262 edition 5.1:
The section 11.1.4 (it is quite long, so I won’t quote it) also states that array literal directly corresponds to the
new Array(...)constructor call.