@babel/plugin-transform-regenerator
var _marked = [a].map(regeneratorRuntime.mark);
function a() {
function a$(_context) {
while (1) {
switch ((_context.prev = _context.next)) {
_context.next = 2;
return 1;
case 2:
case "end":
}
},
_marked[0],
this
);
}
{
"plugins": ["@babel/plugin-transform-regenerator"]
babel --plugins @babel/plugin-transform-regenerator script.js