massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / core-js / modules / esnext.async-iterator.to-array.js
1 'use strict';
2 // https://github.com/tc39/proposal-iterator-helpers
3 var $ = require('../internals/export');
4 var $toArray = require('../internals/async-iterator-iteration').toArray;
5
6 $({ target: 'AsyncIterator', proto: true, real: true }, {
7   toArray: function toArray() {
8     return $toArray(this, undefined, []);
9   }
10 });