State of ES6 support
Understand the state of ES6 support in major browsers including Chrome, Firefox, Edge, and Internet Explorer. Learn the importance of transpiling, using tools like Babel, to convert ES6 code into ES5 for wider browser compatibility. This lesson helps you grasp how to maintain cross-browser functionality while using modern JavaScript features.
We'll cover the following...
As mentioned in Chapter 1, ES6 was finalized in 2015. Since then, browsers have been rolling out support with each incremental update. At the time of writing (March 2016), the current version of Chrome (Chrome 49) has 91% support. The current version of Chrome Canary (a nightly build of Chrome) has 94% support.
While this is great for Chrome, not all browsers currently offer the same level of support. Firefox is pretty close at 91%, and Edge 14 is 86%. But, ...