You can read it everywhere, es2020
, es6
, ... but what is this exactly? To fully understand what is behind the "ES" script names it is necessary to first know ECMA-262.
ECMA-262
ECMA-262 is the specification (or technical standard) of ECMAScript. This specification is a technical documentation which specifies what kind of requirements ECMAScript needs to satisfy.
It is standardized by Ecma International which is a Swiss non-profit organization based in Geneva. They are responsible for a lot of standards, including JSON, C#,... (ECMA-262 by Ecma international)
ECMAScript
ECMAScript is the standard, specified by ECMA-262. The purpose is to make websites, build with programming languages based on it, function in the same way in all browsers. (ECMAScript, Wikipedia)
JavaScript and ECMAScript
JavaScript is based on ECMAScript, and it's standards. To make the relation clearer, JavaScript is often called "the dialect of ECMAScript". (ECMAScript, Wikipedia)
Nearly all specificities of ECMAScript are available in JavaScript. Recently, a new version of ECMAScript has been released every year, with amazing new features which make coding with JavaScript easier. Unfortunately web browsers are not yet compatible with the latest ECMAScript standards. That's why a compiler, like babeljs, is needed when writing with the latest standard.
If you like my posts follow me on dev.to and twitter!
Credits
- ECMAScript, Wikipedia - Read on 17/02/2021
- Specification (technical standard), Wikipedia - Read on 17/02/2021
- ECMA-262 by Ecma international - Read on 17/02/2021
- Whatโs the difference between JavaScript and ECMAScript? by Michael Aranda, freeCodeCamp - Read on 17/02/2021
Top comments (0)