- Hands-On Machine Learning with JavaScript
- Burak Kanber
- 227字
- 2021-06-25 21:38:18
Improvements in ES6
The ECMAScript committee, which defines the specification for the JavaScript language itself, released a new specification called ECMAScript 6/ECMAScript 2015 in June 2015. The new standard, called ES6 for short, was a major revision of the JavaScript programming language and added a number of new paradigms intended to make development of JavaScript programs easier.
While ECMAScript defines the specification for the JavaScript language, the actual implementation of the language is dependent on the browser vendors and the maintainers of the various JavaScript engines. ES6 by itself is only a guideline, and because the browser vendors each have their own timeline for implementing new language features, the JavaScript language and the JavaScript implementations perged slightly. Features defined by ES6, such as classes, were not available in the major browsers, but developers wanted to use them anyway.
Enter Babel, the JavaScript transpiler. Babel can read and parse different JavaScript flavors (such as ES6, ES7, ES8, and React JSX) and convert it or compile it into browser-standard ES5. Even today, the entirety of ES6 has not yet been implemented by the browser vendors, so Babel remains an essential tool for developers wishing to write ES6 code.
The examples in this book will use ES6. If you're not yet familiar with the newer syntax, here are a few of the major features you'll see used throughout this book.
- 火格局的時空變異及其在電網(wǎng)防火中的應(yīng)用
- Visual FoxPro 6.0數(shù)據(jù)庫與程序設(shè)計
- Apache Spark Deep Learning Cookbook
- Blender 3D Printing by Example
- Docker on Amazon Web Services
- 網(wǎng)絡(luò)安全技術(shù)及應(yīng)用
- MCGS嵌入版組態(tài)軟件應(yīng)用教程
- 中國戰(zhàn)略性新興產(chǎn)業(yè)研究與發(fā)展·增材制造
- 生物3D打印:從醫(yī)療輔具制造到細(xì)胞打印
- Creating ELearning Games with Unity
- Oracle 11g Anti-hacker's Cookbook
- 人工智能云平臺:原理、設(shè)計與應(yīng)用
- Microsoft System Center Data Protection Manager Cookbook
- MySQL Management and Administration with Navicat
- 玩轉(zhuǎn)機(jī)器人:基于Proteus的電路原理仿真(移動視頻版)