- 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.
- Word 2003、Excel 2003、PowerPoint 2003上機指導與練習
- Getting Started with MariaDB
- Dreamweaver CS3網頁設計與網站建設詳解
- 自動檢測與轉換技術
- Windows 7寶典
- Arduino &樂高創意機器人制作教程
- 可編程序控制器應用實訓(三菱機型)
- Pentaho Analytics for MongoDB
- Salesforce Advanced Administrator Certification Guide
- C++程序設計基礎(上)
- 基于Proteus的單片機應用技術
- 傳感器原理與工程應用
- 筆記本電腦維修之電路分析基礎
- RealFlow流體制作經典實例解析
- Embedded Linux Development using Yocto Projects(Second Edition)