2018-01-09 15:36:42 +01:00

8 lines
238 B
JavaScript

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