Do people write this as JS code because they know JSON? { "foo": 123 } But you don’t need quotes for identifier keys: { foo: 123 }
-
-
@mathias Everybody knows a subset of those rules and uses it correctly in var decls. For code, I prefer unquoted. For data, quoted. -
- 1 more reply
New conversation -
-
-
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.