- Mastering Angular Components
- Gion Kunz
- 269字
- 2021-07-23 17:23:39
JavaScript of the future
It was not so long ago that somebody asked me whether we should really use the bind function of ECMAScript 5.1, as then we'd probably run into browser compatibility issues. The web moves very fast, and we need to keep up the pace. We can't write code that does not use the latest features, even if this would cause issues in old browsers.
The fantastic people from TC39, the technical committee that is responsible for writing the ECMAScript specification, have done a great job progressively enhancing the JavaScript language. This, and the fact that JavaScript is so flexible, allows us to use so-called polyfills and shims to make our code run in older browsers.
ECMAScript 6 (also referred to as ECMAScript 2015) was published in June 2015, exactly four years after its predecessor. There is a massive amount of new API additions as well as a whole bunch of new language features. The language features are syntactic sugar, and ECMAScript 6 can be transpiled to its previous version where it runs perfectly in older browsers. At the time of writing this book, none of the current browser versions have fully implemented ECMAScript 6, but there's absolutely no reason not to use it for production applications.
- 廣電5G從入門到精通
- EJB 3.1從入門到精通
- 解析QUIC/HTTP3:未來互聯網的基石
- 高校網絡道德教育研究
- 5G承載網網絡規劃與組網設計
- 網絡故障現場處理實踐(第4版)
- 重新定義Spring Cloud實戰
- Socket.IO Real-time Web Application Development
- Microservice Patterns and Best Practices
- Windows Server 2012 Hyper-V虛擬化管理實踐
- 4G小基站系統原理、組網及應用
- React Cookbook
- 語音信號處理及Blackfin DSP實現
- Selenium WebDriver 3 Practical Guide
- NB-IoT原理和優化