Home >Web Front-end >Front-end Q&A >Is es2017 es6?
es2017 is not es6; es2017 is also called es8, and es6 are two versions. es2017 is the 8th version of ECMAScript released in 2017, so it can also be called es8; and es6 is the 6th version of ECMAScript released in 2015, and can also be called es2015.
The operating environment of this tutorial: windows7 system, ECMAScript 8&&ECMAScript 6 version, Dell G3 computer.
es2017 is not es6.
es2017 is also called es8, and es6 are two versions.
Introduction to "es"
The full name of es is "ECMAScript". Every time you see ES followed by a number, it is a different version of ECMAScript. There are actually 8 versions in total. Let’s take a closer look:
ES1, ES2, ES3, ES4
ES1: June 1997 — ES2: June 1998 — ES3: 1999 December — ES4: Failed
I put it all together. These are the first 4 versions of ECMAScript. Let’s briefly review them here. Just so you know the first 3 versions came out one per year and the 4th version didn't pass due to political reasons.
ES5
December 2009: Nearly 10 years later, ES5 was released in 2009. It took 6 years for the next version of ECMAScript to be released.
ES6 / ES2015
June 2015: Maybe this is where the confusion starts. As you can see, ES6 and ES2015 are actually the same thing.
The first promoted name was ES6. However, the organizing committee requires that ECMAScript must be updated every year. As a result, this version was renamed ES 2015 and needs to be updated every year with the suffix of the current year.
ES2016 (ES7)
June 2016: The 7th version of ECMAScript.
ES2017 (ES8)
June 2017: The 8th version of ECMAScript.
ES.Next
You may see ES.Next appear. This is an unstable version and is a work-in-progress before the next version appears.
Why is this?
Because every release brings updates and new features to the language.
Key points
ECMAscript will be updated every year.
ECMAScript is named according to Numerical order, starting from 1: ES1, ES2, ES3, ES4, ES5
New version (from 2015) ES naming is based on the year: ES2015, ES2016, ES2017
ECMAScript is a standard. JavaScript is a popular implementation language for ES standards. Some other implementation standard languages are: SpiderMonkey, V8 and ActionScript.
I hope that next time you see ES, you will have a better understanding of its definition!
[Related recommendations: javascript video tutorial 、web front end】
The above is the detailed content of Is es2017 es6?. For more information, please follow other related articles on the PHP Chinese website!