main
Last change
on this file was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 3 days ago |
F4 Finalna Verzija
|
-
Property mode
set to
100644
|
File size:
371 bytes
|
Line | |
---|
1 | 'use strict';
|
---|
2 | var $ = require('../internals/export');
|
---|
3 | var $toArray = require('../internals/async-iterator-iteration').toArray;
|
---|
4 |
|
---|
5 | // `AsyncIterator.prototype.toArray` method
|
---|
6 | // https://github.com/tc39/proposal-async-iterator-helpers
|
---|
7 | $({ target: 'AsyncIterator', proto: true, real: true }, {
|
---|
8 | toArray: function toArray() {
|
---|
9 | return $toArray(this, undefined, []);
|
---|
10 | }
|
---|
11 | });
|
---|
Note:
See
TracBrowser
for help on using the repository browser.