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

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.

主站蜘蛛池模板: 柘城县| 肃南| 康乐县| 通江县| 高安市| 藁城市| 德阳市| 长海县| 乐业县| 连山| 肇州县| 乐昌市| 民丰县| 牡丹江市| 石城县| 皋兰县| 北宁市| 潜山县| 永顺县| 遵义县| 宣威市| 渝中区| 柞水县| 绥阳县| 西峡县| 嵊泗县| 辽中县| 海原县| 玉门市| 溧阳市| 台州市| 同江市| 新昌县| 延寿县| 东光县| 榆林市| 巫溪县| 大余县| 和田市| 汝南县| 邢台市|