Re:CoffeeScript, a little language that compiles to JavaScri...
by tlrobinson on Thursday December 24, 2009 @08:01PM
(#1014625)
How do you do object literals with non-indentifier characters in property names? (e.x. { "foo+bar" : "baz" } in JS)
[ Parent
| on HN ]
Re:CoffeeScript, a little language that compiles to JavaScri...
by jashkenas on Thursday December 24, 2009 @08:16PM
(#1014642)
You couldn't, a minute ago. I've just pushed an update to the grammar that allows you to use quoted strings inside of object literals.
Thanks for catching it. I really appreciate folks taking the time to find the little missing pieces.