Is there a polyfill
for es6 arrow function?
the following code throws syntax error exception in IE, is there a polyfill
to make IE support arrow functions?
var myFunc = ()=>{
alert('es6');
}
myFunc();
Note: I don't want to use any transpiler
.
Thanks in advance
A polyfill can add or fix missing built-in classes, functions, objects... but it cannot modify a compiler's accepted syntax.