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

Starting with ES2015

As I have already mentioned, NW.js provides a complete support of JavaScript of ES2015 and ES2016 editions. To understand what it really means, we need a brief excursion into the history of the language. The standardized specification for JavaScript was first released in 1997 (ECMA-262 1st Edition).

Since then, the language has not really changed for 10 years. The 4th edition proposed in 2007 called for drastic changes. However, the working group (TC39) failed to agree on the feature set. Some proposals have been deemed unsound for the Web, but some were adopted in a new project code named Harmony. The project turned into the 6th edition of the language specification and was released in 2015 under the official name ES2015. Now, the committee is releasing a new specification every year.

New JavaScript is backward compatible with an earlier version. So, you can still write code with the syntax of the ECMAScript 5th edition or even 3rd one, but why should we lose the opportunity to work with the new advanced syntax and feature set? I think it would be helpful if we now go through some new language aspects that will be used in the application.

主站蜘蛛池模板: 武强县| 淮北市| 兴文县| 平顺县| 普安县| 视频| 岑溪市| 南部县| 含山县| 军事| 阿鲁科尔沁旗| 华安县| 新乡县| 株洲县| 南安市| 台北市| 龙泉市| 来安县| 若尔盖县| 连州市| 庄河市| 广东省| 枝江市| 新平| 通道| 合川市| 依兰县| 习水县| 康平县| 无锡市| 鹿泉市| 信阳市| 侯马市| 贺州市| 刚察县| 西贡区| 织金县| 莒南县| 灵川县| 六枝特区| 寿阳县|