📅  最后修改于: 2020-10-25 10:26:37             🧑  作者: Mango
ECMAScript(ES)是ECMAScript International标准化的脚本语言规范。应用程序使用它来启用客户端脚本。该规范受诸如Self,Perl, Python,Java等编程语言的影响。JavaScript,Jscript和ActionScript之类的语言受此规范约束。
本教程向您介绍JavaScript中的ES6实现。
JavaScript由Netscape Communications Corporation的开发人员Brendan Eich于1995年开发。JavaScript最初以Mocha命名,并被简称为LiveScript,然后正式更名为JavaScript。它是一种由浏览器(即在客户端)执行的脚本语言。它与HTML结合使用以开发响应式网页。
此处讨论的ECMA Script6的实现包含以下新功能-
ECMA-262共有九个版本,如下所示-
Edition | Name | Description |
---|---|---|
1 | ECMAScript 1 | First Edition released in 1997 |
2 | ECMAScript 2 | Second Edition released in 1998, minor changes to meet ISO/IEC 16262 standard |
3 | ECMAScript 3 | Third Edition released in 1999 with language enhancements |
4 | ECMAScript 4 | Fourth Edition release plan was dropped, few features added later in ES6 & other complex features dropped |
5 | ECMAScript 5 | Fifth Edition released in 2009 |
5.1 | ECMAScript 5.1 | 5.1 Edition released in 2011, minor changes to meet ISO/IEC 16262:2011 standard |
6 | ECMAScript 2015/ES6 | Sixth Edition released in 2015, see ES6 chapters for new features |
7 | ECMAScript 2016/ES7 | Seventh Edition released in 2016, see ES7 chapters for new features |
8 | ECMAScript 2017/ES8 | Eight Edition released in 2017, see ES8 chapters for new features |
9 | ECMAScript 2018/ES9 | Ninth Edition released in 2018, see ES9 chapters for new features |