docs: function next(iterator, dflt = undefined) {
  
    const x = iterator.next();
  
    if (x.done) {
      if (dflt === undefined) throw new _StopIteration.StopIteration();else return dflt;
    }
  
    return x.value;
  }