Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
simcop2387
on March 5, 2012
|
parent
|
context
|
favorite
| on:
Which JavaScript property names can be unquoted? W...
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.
mathias
on March 6, 2012
[–]
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.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: