Many JavaScript / ECMA Names

I searched for new JavaScript features and found ECMAScript / ECMA 5.

Since I had never heard of this, I looked at it more and found that it comes in the form of different names, such as:

JavaScript, JScript (Microsofts Variation), ECMAScript, ECMA 5, E4X (JavaScript for Xml)and many others 

From what I read, it seems that while a newer implementation of JavaScript is being developed, it is called the release of ECMA-262 {edition_number} or {name}.

I know that each of them is a dialect if ECMAScript is used, so it will work the same, if not in a slightly different way.

Are JavaScript and ECMAScript different, or is it just a name?

+4
source share
4 answers

ECMAScript is the standard. Javascript, JScript are implementations of this standard.

And yes, they are almost . Most of the differences in web programming stem from a variety of DOM (Document Object Model) implementations.

+4
source

Well, that’s basically just a name.

Javascript was first implemented, then the ECMAScript standard was prepared to describe it.

+1
source

Same. ECMAScript is a language, Javascript is the name of an implementation in web browsers.

0
source

HOWEVER, if you adhere to JavaScript when coding for browsers, you will be most compatible.

0
source

Source: https://habr.com/ru/post/1314426/


All Articles