my-idlers/node_modules/es5-ext/test/array/#/entries/shim.js

10 lines
326 B
JavaScript
Raw Normal View History

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