skipFirstGeneratorNext.js 181 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;