first
This commit is contained in:
11
node_modules/core-js/modules/esnext.async-iterator.find.js
generated
vendored
Normal file
11
node_modules/core-js/modules/esnext.async-iterator.find.js
generated
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
'use strict';
|
||||
var $ = require('../internals/export');
|
||||
var $find = require('../internals/async-iterator-iteration').find;
|
||||
|
||||
// `AsyncIterator.prototype.find` method
|
||||
// https://github.com/tc39/proposal-async-iterator-helpers
|
||||
$({ target: 'AsyncIterator', proto: true, real: true }, {
|
||||
find: function find(predicate) {
|
||||
return $find(this, predicate);
|
||||
}
|
||||
});
|
Reference in New Issue
Block a user