10 lines
305 B
JavaScript
10 lines
305 B
JavaScript
|
"use strict";
|
||
|
|
||
|
exports.__generic = function (t, a) {
|
||
|
var iterator = t.call(this);
|
||
|
a.deep(iterator.next(), { value: 0, done: false });
|
||
|
a.deep(iterator.next(), { value: 1, done: false });
|
||
|
a.deep(iterator.next(), { value: 2, done: false });
|
||
|
a.deep(iterator.next(), { value: undefined, done: true });
|
||
|
};
|