skipFirstGeneratorNext.js 259 B

123456789
  1. function _skipFirstGeneratorNext(fn) {
  2. return function () {
  3. var it = fn.apply(this, arguments);
  4. it.next();
  5. return it;
  6. };
  7. }
  8. module.exports = _skipFirstGeneratorNext, module.exports.__esModule = true, module.exports["default"] = module.exports;