yannickl / AwaitKit

The ES8 Async/Await control flow for Swift
MIT License
750 stars 55 forks source link

Technically, async/await is part of JavaScript ES7 not ES8 #24

Closed bengotow closed 6 years ago

bengotow commented 6 years ago

Hey! Friendly neighborhood JavaScript developer here :) I'm writing some Swift and someone pointed me to this library (it looks amazing!) but I noticed a slight error in the repo description β€” async/await are part of the ES2017 / "ES7" specification, not the ES8 specification (https://tc39.github.io/ecma262/2017/#sec-async-function-definitions).

Don't mean to be /that/ pedantic guy, just figured it'd be a quick fix πŸ˜…

bengotow commented 6 years ago

Actually I stand corrected - sorry about that, turns out ES8 /IS/ ES2017. My bad...

https://hackernoon.com/es8-was-released-and-here-are-its-main-new-features-ee9c394adf66

ECMAScript 8 or ECMAScript 2017 was officially released at the end of June by TC39. It seems that we are talking a lot about ECMAScript in the last year. It’s not for nothing. Currently, the standard is to publish a new ES specification version once a year. ES6 was published in 2015 and ES7 was published in 2016, but did someone remembered when ES5 was released? It happened in 2009, before the magical rise of JavaScript.