What is ECMAScript?

In Visual Studio, when I set my script type to JavaScript, this appears as an option in intellisense.

A quick Google search showed lame results, making me believe that this is not very popular.

  • What is it?
  • Does anyone use it? (<script type="text/ecmascript">)
  • Why?
+75
javascript
Nov 24 '10 at 16:35
source share
5 answers

ECMAScript is a subset of JavaScript. JavaScript is mainly based on ECMAScript, but based on it. Languages ​​such as ActionScript, JavaScript, JScript, use ECMAScript as the main one. For comparison, AS / JS / JScript are 3 different cars, but they all use the same engine ... each of their exteriors is different, and for each of them several modifications have been made to make it unique.

History: Brendan H.H. created Mocha, which became LiveScript and then JavaScript. Netscape introduced JavaScript for Ecma International , which is developing standards and has been renamed ECMA-262, as well as ECMAScript.

It’s important to note that Brendan H. "JavaScript" is not the same JavaScript that is a dialect of ECMAScript. He built the core language, which was renamed ECMAScript, which is different from JavaScript, which the browser provider currently implements.

http://en.wikipedia.org/wiki/ECMAScript

+110
Nov 24 '10 at 16:38
source share

ECMAScript is the standard . JavaScript and ActionScript are well-known implementations of the ECMAScript standard.

http://en.wikipedia.org/wiki/ECMAScript

+52
Nov 24 '10 at 16:37
source share

ECMAScript = ES:

  • ECMAScript is the standard for scripting languages.

  • Languages ​​such as Javascript are based on the ECMAScript standard.

  • The ECMA standard is based on several source technologies, the most famous of which are JavaScript (Netscape) and JScript (Microsoft).

  • ECMA stands for European Computer Manufacturers Association




On the other hand:




JavaScript = JS:

  • JavaScript is the most popular version of the ECMAScript standard.

  • The main features of Javascript are based on the ECMAScript standard, but Javascript also has other additional features that are not in the ECMA specification / standard.

  • ActionScript and JScript are another language that implements ECMAScript.

  • JavaScript was sent to ECMA for standardization, but due to problems with trademarks named Javascript, this standard became known as ECMAScript.

  • Each browser has a JavaScript interpreter.




Read more about this design of my complete answer here . What is the difference between JavaScript and ECMAScript?

+17
Nov 17 '15 at 3:04 on
source share

ECMA - European Computer Manufacturers Association. ECMAScript is the standard for the scripting language. It identifies the main functions that the scripting language should provide and how these functions should be implemented. Javascript was created in Netscape, and they wanted to standardize the language. Therefore, they introduced the language of the European Computer Manufacturers Association (ECMA) for standardization. But there were trademarks with the name Javascript, and the standard became known as ECMAScript, which is also the name it has today.

Thus, you can use any scripting language that implements the ECMA standard, since web browsers support the interpretation of ECMAScript when you specify ( <script type="text/ecmascript"> ).

+8
Jul 06 '15 at 9:10
source share

ECMA is an organization that is standardized JavaScript. They called ECMAScript, however, "Javascript" was the term that won the "name contest"

+2
Nov 24 '10 at 16:38
source share



All Articles