Re:Which JavaScript property names can be unquoted? When can...
by simcop2387 on Monday March 05, 2012 @11:28AM
(#3667044)
Possbily, I'll try to dig up something from my old projects. I wouldn't be surprised if I seem to be misinformed about it a little.
[ Parent
| on HN ]
Re:Which JavaScript property names can be unquoted? When can...
by mathias on Tuesday March 06, 2012 @02:16AM
(#3670035)
You may have been thinking of ES3, which disallowed the use of unquoted reserved words as property names. So yeah, quoting is still a good idea, especially if backwards compatibility is a concern.