first
This commit is contained in:
11
node_modules/core-js/modules/esnext.async-iterator.to-array.js
generated
vendored
Normal file
11
node_modules/core-js/modules/esnext.async-iterator.to-array.js
generated
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
'use strict';
|
||||
var $ = require('../internals/export');
|
||||
var $toArray = require('../internals/async-iterator-iteration').toArray;
|
||||
|
||||
// `AsyncIterator.prototype.toArray` method
|
||||
// https://github.com/tc39/proposal-async-iterator-helpers
|
||||
$({ target: 'AsyncIterator', proto: true, real: true }, {
|
||||
toArray: function toArray() {
|
||||
return $toArray(this, undefined, []);
|
||||
}
|
||||
});
|
Reference in New Issue
Block a user