- Mastering JavaScript Functional Programming
- Federico Kereki
- 190字
- 2021-07-02 22:41:07
How do we work with JavaScript?
All this is quite well, but as we mentioned before, it so happens that the JS version available most everywhere isn't ES8, but rather the earlier JS5. An exception to this is Node.js: it is based on Chrome's V8 high-performance JS engine, which already has several ES8 features available. Nonetheless, as of today, ES8 coverage isn't 100% complete, and there are features that you will miss. (Check out https://nodejs.org/en/docs/es6/ for more on Node and V8.)
So, what can you do, if you want to code using the latest version, but the available one is an earlier, poorer one? Or, what happens if most of your users may be using older browsers, which don't support the fancy features you're keen on using? Let's see some solutions for that.
If you want to be sure before using any given new feature, check out the compatibility table at https://kangax.github.io/compat-table/es6/. (See Figure 1.1). For Node.js specifically, check out http://node.green/.

Figure 1.1. - The latest versions of JS aren't yet widely and fully supported, so you'll have to check before using any of their new features
- GitLab Cookbook
- Java系統分析與架構設計
- Oracle Exadata性能優化
- DevOps for Networking
- Building a Home Security System with Raspberry Pi
- PaaS程序設計
- Python王者歸來
- Python GUI Programming Cookbook
- Oracle JDeveloper 11gR2 Cookbook
- PLC編程與調試技術(松下系列)
- MATLAB for Machine Learning
- Windows內核編程
- Webpack實戰:入門、進階與調優
- Web性能實戰
- ScratchJr趣味編程動手玩:讓孩子用編程講故事