[OpenLayers-Dev] {} or new Object()

Erik Uzureau erik.uzureau at metacarta.com
Tue Jul 24 15:43:09 EDT 2007


Paul has just gone vocal with his preference for using {} instead of
"new Object()" for the instantantiation of a new object.

We do not currently have any policy for this. Do people feel strongly
one way or the other?

Obviously it's not a big issue, but if there is broad support for
doing it one way or the other, we might as well attempt to standardize
a bit.

Erik



More information about the Dev mailing list