Is there a polyfill for es6 arrow function?

前端 未结 4 1742
隐瞒了意图╮
隐瞒了意图╮ 2020-12-16 11:09

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

4条回答
  •  旧巷少年郎
    2020-12-16 11:24

    Features that add new syntax can not be polyfilled.

    I can only think of babel-standalone, which you can think of as a JIT compiler/transpiler (if that is OK with you).

提交回复
热议问题