Not all browsers support the newest JavaScript features. Of course there are ways around this issue, such as using transpilers like Babel. But part of the challenge of using JavaScript (unfortunately) is being able to fluidly code between all flavors of JavaScript.
What's wrong?
Not all browsers support the newest JavaScript features. Of course there are ways around this issue, such as using transpilers like Babel. But part of the challenge of using JavaScript (unfortunately) is being able to fluidly code between all flavors of JavaScript.
How do I fix it?
Manually refactor any ES6 features into ES5 code.