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