Possible Duplicate:
Create an empty object in JavaScript with {} or new Object()?
Is there any benefits of using new Array()
or [ ]
?
The same question about new Object()
and { }
.
Possible Duplicate:
Create an empty object in JavaScript with {} or new Object()?
Is there any benefits of using new Array()
or [ ]
?
The same question about new Object()
and { }
.