What is ECMAScript?
ECMAScript is the standard for programming languages used in the Web. It is specified by ECMA-262. The purpose of it is to make websites function in the same way no matter what browser they are opened in.
ECMAScript is a scripting language that web developers commonly use to give life to websites. They are also using it to write server-side applications using Node.js.
ECMAScript is an abbreviation for ECMA-262. This is a technical documentation that specifies what kind of requirements the ECMAScript language needs to satisfy.
It is a standardized set of rules by ECMA International. ECMA International is a Swiss non-profit organization based in Geneva. They are responsible for a lot of standards, including JSON, C#, and more.
- DOM API like:
Why is it called ECMAScript?
ECMAScript = ES:
- ECMAScript is a Standard for scripting languages.
- ECMA means European Computer Manufacturer’s Association.
- ActionScript and JScript are other languages that implement the ECMAScript.
ES5 = ECMAScript 5:
- ES5 is a version of the ECMAScript.
- ES5 does not require transpilers to transform it into something that will run in today’s browsers.
- ECMAScript version 5 was finished in December 2009, the latest versions of all major browsers (Chrome, Safari, Firefox, and IE) have implemented version 5.
- Version 5.1 was finished in June, 2011.
ES6 = ECMAScript 6 = ES2015 = ECMAScript 2015:
- ES2015 is a version of the ECMAScript.
- Officially the name ES2015 should be used instead of ES6.
- ES6 will tackle many of the core language shortcomings addressed in TypeScript and CoffeeScript.
- There are quite a few transpilers that will export ES5 for running in browsers.
- BabelJS simply takes ES2015 file and transform it into ES5 file.
TypeScript and CoffeeScript:
Sadly, browsers are not yet up to date with the most recent standards. This is why, when writing with the most recent standard, a compiler such as babeljs is required.
Thanks for reading. Stay tuned to Black Rupee.