JavaScript — WTF is ES6, ES8, ES 2017, ECMAScript… ?
JavaScript — WTF is ES6, ES8, ES 2017, ECMAScript… ?
Learning JavaScript can be confusing for a number of reasons. Don’t let these acronyms confuse you any further. Let’s break down the ES abbreviations in this JavaScript Quickie!
Here’s what happened long, long ago:
Put simply, ECMAScript is a standard. While JavaScript is the most popular implementation of that standard. JavaScript implements ECMAScript and builds on top of it.
ES is simply short for ECMAScript. Every time you see ES followed by a number, it is referencing an edition of ECMAScript. In fact, there are eight editions of ECMAScript published. Lets dive into them:
... read the whole story at codeburst.io.Remember that "ES2017 is official" is meaningless. The real, implemented spec is updated more than once per year.
ECMAScript® 2018 Language Specification
6.2.4: In ECMAScript 2015, Function calls are not allowed to return a Reference value.
11.6: In ECMAScript 2015, the valid code points for an IdentifierName are specified in terms of the Unicode properties “ID_Start” and “ID_Continue”. In previous editions, the valid IdentifierName or Identifier code points were specified by enumerating various Unicode code point categories.
11.9.1: In ECMAScript 2015, Automatic Semicolon Insertion adds a semicolon at the end of a do-while statement if the semicolon is missing. This change aligns the specification with the actual behaviour of most existing implementations.
... read the whole story at tc39.github.io.