Babel creating IIFE with an arrow function

后端 未结 0 1334
谎友^
谎友^ 2020-12-11 06:30

I\'m trying to transpile an incredibly simple file using babel and webpack:

window.foo = function(bar) {
    return {...bar};
}

however, the

相关标签:
回答
  • 消灭零回复
提交回复
热议问题