How to Run Modern JavaScript

JavaScript has evolved considerably but the runtime engines are still catching up. Different browsers have varied support for different features from the newer versions of JavaScript.

Sites like kangax.github.io[2] and caniuse.com[3] can help you find whether a particular browser supports a JavaScript feature you’re interested in using. MDN[4] web docs is a good source for documentation of JavaScript features and support in a few different browsers. The good news is all browsers will be 100 percent features compatible within the next 20 years—or so it feels—but we can’t wait that long.

If you are developing for the back end using JavaScript, you may have better control of the version of the runtime engine you use. ...

Get Rediscovering JavaScript now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.