Answer the question
In order to leave comments, you need to log in
Why does IE throw an error in function parameters and when creating an object?
There are 2 moments in the code that IE swears at.
First: var fn = function(a, b = 50) {};
And second:
var a = 5, b = 3;
var data = {a, b};
Answer the question
In order to leave comments, you need to log in
This is the syntactic sugar of es6 and here is its support:
https://kangax.github.io/compat-table/es6/
"how then to be in this case?"
https://babeljs.io
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question