wishthis/node_modules/es5-ext/test/array/#/@@iterator/shim.js

10 lines
311 B
JavaScript
Raw Normal View History

2022-01-21 08:28:41 +00:00
"use strict";
exports.__generic = function (t, a) {
var iterator = t.call(this);
a.deep(iterator.next(), { value: "1", done: false });
a.deep(iterator.next(), { value: "2", done: false });
a.deep(iterator.next(), { value: "3", done: false });
a.deep(iterator.next(), { value: undefined, done: true });
};