first commit

This commit is contained in:
Warunee Tamkoo 2023-09-06 14:51:44 +07:00
commit eb2f504652
32490 changed files with 5731109 additions and 0 deletions

View file

@ -0,0 +1,13 @@
'use strict';
var call = require('../internals/function-call');
var map = require('../internals/async-iterator-map');
var callback = function (value, counter) {
return [counter, value];
};
// `AsyncIterator.prototype.indexed` method
// https://github.com/tc39/proposal-iterator-helpers
module.exports = function indexed() {
return call(map, this, callback);
};