3 ms·
async/await isn't part of any standard yet. It's a stage 3 proposal at this time, which means it may not even land in ES 2016: https://github.com/tc39/ecma262 h
by pluma 11y ago
async/await isn't part of any standard yet. It's a stage 3 proposal at this time, which means it may not even land in ES 2016: https://github.com/tc39/ecma262 https://github.com/tc39/ecma262
The last thing we want is native support for pre-standard features. As long as it's not in a spec (or draft at least), it's sci-fi.
Besides, node doesn't implement language features, V8 does. Here's the relevant issue: https://bugs.chromium.org/p/v8/issues/detail?id=4483 https://bugs.chromium.org/p/v8/issues/detail?id=4483
- _dominic 11y agoES2016 is already finished, it only has array.includes and the exponentiation operator[0]. We'll have to wait for ES2017 at the earliest for async to arrive. [0]http://www.2ality.com/2016/01/ecmascript-2016.html http://www.2ality.com/2016/01/ecmascript-2016.html
- pluma 11y agoThanks for pointing that out. I haven't been following the releases that closely. But it's good to see that after the kitchen sink nature of ES2015 the yearly releases following it are a lot more incremental than revolutionary.