Babel plugin to fix buggy JScript named function expressions
$ npm install babel-plugin-transform-jscript
.babelrc
{
"plugins": ["transform-jscript"]
}
$ babel --plugins transform-jscript script.js
require("babel-core").transform("code", {
plugins: ["transform-jscript"]
});