UNPKG
care-js
Version:
latest (3.3.4)
3.3.4
Standard library
care-js
/
modules
/
esnext.async-iterator.to-array.js
11 lines
(9 loc)
•
306 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
'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
}, {
toArray
:
function
toArray
(
) {
return
$toArray(
this
); } });