shim.js 326 B

123456789
  1. "use strict";
  2. exports.__generic = function (t, a) {
  3. var iterator = t.call(this);
  4. a.deep(iterator.next(), { value: [0, "1"], done: false });
  5. a.deep(iterator.next(), { value: [1, "2"], done: false });
  6. a.deep(iterator.next(), { value: [2, "3"], done: false });
  7. a.deep(iterator.next(), { value: undefined, done: true });
  8. };