6th Jan, 2021 | 1053 Words | 7 Min Read
ECMAScript is a cross-platform, general-purpose scripting language and is not tied to web browsers alone. ECMA-262 defines the standards based on which more-robust scripting language may be built. ECMA-262 defines the following parts of the language and does not refer to web browsers at all
So what does ECMAScript conformance means? When would a programming language be considered conforming to the ECMAScript based on the standards laid down in ECMA-262? You can see the latest ECMAScript Specification, but an implementation's conformance boils down to the following:
There is a test suite for ECMA-262available on GitHub and used for testing the conformance to the standards.
In a nutshell, a browser's runtime might have the following basic implementations which are useful for creating web applications:
On the other hand, a NodeJs runtime would have implementations that are useful for developing server-side applications. It contains the following implementations as an example:
It's the sixth edition of ECMA-262, which was released in 2015, known as ES6, ES2015, and ES Harmony.
Essentially all these terms refer to the same edition of ECMA-262. Consequently, ECMA has been publishing a new edition of specifications every year, so the 7th edition came out in 2016.