Last change
on this file since e29cc2e was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
297 bytes
|
Rev | Line | |
---|
[6a3a178] | 1 | 'use strict';
|
---|
| 2 | // https://github.com/tc39/proposal-iterator-helpers
|
---|
| 3 | var $ = require('../internals/export');
|
---|
| 4 | var $find = require('../internals/async-iterator-iteration').find;
|
---|
| 5 |
|
---|
| 6 | $({ target: 'AsyncIterator', proto: true, real: true }, {
|
---|
| 7 | find: function find(fn) {
|
---|
| 8 | return $find(this, fn);
|
---|
| 9 | }
|
---|
| 10 | });
|
---|
Note:
See
TracBrowser
for help on using the repository browser.