16 lines
346 B
JavaScript

function _skipFirstGeneratorNext(fn) { return function () { var it = fn.apply(this, arguments); it.next(); return it; }; }
const foo = (() => {
var _ref = _skipFirstGeneratorNext(function* () {
let _functionSent = yield;
return _functionSent;
});
function gen() {
return _ref.apply(this, arguments);
}
return gen;
})();