Files
actual/node_modules/core-js/modules/esnext.async-iterator.to-array.js
Rich In SQL 28d4ee94dd Init
2022-10-16 20:28:33 +01:00

11 lines
335 B
JavaScript

'use strict';
// https://github.com/tc39/proposal-iterator-helpers
var $ = require('../internals/export');
var $toArray = require('../internals/async-iterator-iteration').toArray;
$({ target: 'AsyncIterator', proto: true, real: true, forced: true }, {
toArray: function toArray() {
return $toArray(this, undefined, []);
}
});