4 ms·
Thank you, I believe that _crucial_ is the perfect adjective for this feature. As far as you know, is it going to be in the finalized ES6?
by yuchi 14y ago
Thank you, I believe that _crucial_ is the perfect adjective for this feature. As far as you know, is it going to be in the finalized ES6?
- wycats 14y agoAs I said, the class feature in ES6 was intentionally pared down to achieve consensus. I hope that something will make it into ES7. Browsers do not need to wait for a spec to be fully finalized before starting to implement features. Firefox and Chrome have already started to implement large swaths of the more locked down parts of ES6. Object.observe is actually a feature approved for ES7, and Chrome has already begun implementation. I tend not to think about the precise spec version that a feature is a part of, and more about getting consensus in the committee that a feature should be part of JavaScript period.
- yuchi 14y agoPerfect. That also means that we'll have to stick with sweetjs ATM to implement a slightly different class sugar. Perfectly fine for me.