- JavaScript was originally named JavaScript in hopes of capitalizing on the success of Java.
- Netscape then submitted JavaScript to ECMA International for Standardization. (ECMA is an organization that standardizes information)
- This results in a new language standard, known as ECMAScript.
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:
These were the first 4 editions of ECMAScript. Just know that the first three editions were annual, and the fourth was abandoned due to political differences.
December 2009: Nearly 10 years later, ES5 was released in 2009. It would then take almost six years for the next version of ECMAScript to be released.
June 2015: Perhaps the cause for all of your confusion begins here. You see, ES6 and ES2015 are the same thing.
ES6 was the popularized name prior to release. However, the committee that oversees ECMAScript specifications made the decision to move to annual updates. With this change, the edition was renamed to ES 2015 to reflect the year of release. Subsequent releases will therefor also be named according to the year they are released.
June 2016: Seventh edition of ECMAScript.
June 2017: Eighth edition of ECMAScript.
You may have also seen ES.Next used online. This term is dynamic and references the next version of ECMAScript coming out.
Why?
Each release brings updates and new features to the language.
source from https://codeburst.io/javascript-wtf-is-es6-es8-es-2017-ecmascript-dca859e4821c
source from
https://www.geeksforgeeks.org/difference-between-es5-and-es6/
https://dev.to/bilalniaz15/what-is-the-difference-between-es5-and-es6-52p6