3 ms·
Unfortunately, async and await didn't make it into ES7. ES2016 (ES7) was finalized with Array.prototype.includes and the exponentiation operator [0]. We'll have
by kevlened 10y ago
Unfortunately, async and await didn't make it into ES7. ES2016 (ES7) was finalized with Array.prototype.includes and the exponentiation operator [0]. We'll have to wait for ES2017 at the earliest for async/await to make it into the official spec [1][2].
[0] http://www.ecma-international.org/ecma-262/7.0/ http://www.ecma-international.org/ecma-262/7.0/
[1] https://github.com/tc39/proposals https://github.com/tc39/proposals
[2] http://www.2ality.com/2016/02/ecmascript-2017.html http://www.2ality.com/2016/02/ecmascript-2017.html