官术网_书友最值得收藏!

The ECMAScript standard

In the beginning, some companies such as Microsoft were trying to develop their own JavaScript implementation, in this case, JScript for Internet Explorer 3.0, in the year  1996. To define a standard, Netscape delivered JavaScript to the European Computer Manufacturers Association (ECMA), a standards organization for information and communication systems.

The first edition of ECMA-262 was adopted by the ECMA General Assembly in June 1997. Several editions of the language standard have been published since then. The name ECMAScript was a compromise between the organizations involved in standardizing the language, especially Netscape and Microsoft, whose disputes dominated the early standards sessions.

So, after all these standardization processes and paperwork, what are we using? ECMAScript, JScript, ActionScript, or JavaScript? Are they the same? Well, basically no. After the standardization, ECMAScript was defined as the main language, and JavaScript, JScript, and ActionScript are dialects of this language, of course, JavaScript being the most known and used.

The ECMAScript Version 5 is supported by most browsers nowadays, released in 2011. Some of the features managed for this version are as listed:

  • Support for new Array methods
  • Support for manage dates
  • Support for JSON

At this point, we’ve seen pure ES5 syntax, very verbose, sometimes highly coupled with other functionality, and if we are planning to develop a big application, it can become difficult to maintain.

Thank God we won’t have to deal with this syntax anymore. The ECMAScript 6 (ES6) version came with a lot of changes that simplify the development and understanding of our code.

主站蜘蛛池模板: 湾仔区| 莒南县| 东宁县| 抚宁县| 高平市| 东丰县| 张家口市| 清河县| 台安县| 社会| 玛沁县| 屯门区| 泰安市| 平乡县| 伊吾县| 革吉县| 青海省| 灌阳县| 卢湾区| 洛川县| 建阳市| 桑日县| 子洲县| 南昌市| 孟连| 耒阳市| 乌审旗| 会东县| 新河县| 崇义县| 丹棱县| 突泉县| 台前县| 深水埗区| 济宁市| 都安| 淮滨县| 宜都市| 大连市| 怀宁县| 潍坊市|