main
Last change
on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
358 bytes
|
Rev | Line | |
---|
[d24f17c] | 1 | 'use strict';
|
---|
| 2 | var $ = require('../internals/export');
|
---|
| 3 | var $some = require('../internals/async-iterator-iteration').some;
|
---|
| 4 |
|
---|
| 5 | // `AsyncIterator.prototype.some` method
|
---|
| 6 | // https://github.com/tc39/proposal-async-iterator-helpers
|
---|
| 7 | $({ target: 'AsyncIterator', proto: true, real: true }, {
|
---|
| 8 | some: function some(predicate) {
|
---|
| 9 | return $some(this, predicate);
|
---|
| 10 | }
|
---|
| 11 | });
|
---|
Note:
See
TracBrowser
for help on using the repository browser.