Open andyhasit opened 6 years ago
It says the following code has no compatibility problems, but default parameters are well known not to work in IE.
function foo(x=4){return x*2}
See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/default_parameters
It says the following code has no compatibility problems, but default parameters are well known not to work in IE.
function foo(x=4){return x*2}
See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/default_parameters