Re:Await and Defer in Coffeescript core
by tikhonj on Sunday December 18, 2011 @04:16AM
(#3366306)
This is really pedantic, but I also think it's important: class is a keyword (well, really just a reserved word) in JavaScript as well. The reason it's important is that some engines will actually have issues if you use syntax like this[1]:
[1]: https://developer.mozilla.org/en/JavaScript/Reference/Reserv...
[ Parent
| on HN ]
Re:Await and Defer in Coffeescript core
by DanielRibeiro on Sunday December 18, 2011 @04:17PM
(#3367500)
Yeah, we are kinda splitting hairs here, but strictly speaking, 'class' is reserved word in JS. It will become a keywords when they start using it. The link you provided does make this distinction: reserved as future keywords.