Sunday, July 24, 2016

What is ECMAScript ? and the Relation Between ES and JavaScript


  • ECMAScript is scripting-language specification
  • JavaScript was originally created at Netscape, and they wanted to standardize the language. So, they submitted the language to the European Computer Manufacturer’s Association (ECMA) for standardization. 
  • JavaScript = ECMAScript + DOM API

-        The ECMAScript (or ES) is  scripting-language specification standardized by Ecma International developed by Brendan Eich of Netscape; initially it was named Mocha, later LiveScript, and finally JavaScript.
-        In December 1995, Sun Microsystems and Netscape announced JavaScript in a press release.
-        In March 1996, Netscape Navigator 2.0 was released, featuring support for JavaScript.
-        Netscape delivered JavaScript to Ecma International for standardization and the work on the specification, ECMA-262, began in November 1996.The first edition of ECMA-262 was adopted by the Ecma General Assembly of June 1997.

-      Languages such as ActionScript, JavaScript, JScript all use ECMAScript as its core standard.

-        Is JavaScript exactly the same as ECMAScript?
o   No, The core features of Javascript are based on the ECMAScript standard, but JavaScript also has other additional features that are not in the ECMA specifications/standard.

-        JavaScript = ECMAScript + DOM API:
o   ECMAScript ® Language Specification:  defines all logic for creating and editing objects, arrays, numbers, etc...
o   DOM API: makes it possible to communicate with HTML documents e.g. document.getElementById('myid') .


No comments: