mirror of
https://github.com/musix-org/musix-oss
synced 2024-11-10 11:20:19 +00:00
11 lines
297 B
JavaScript
11 lines
297 B
JavaScript
'use strict';
|
|
// https://github.com/tc39/proposal-iterator-helpers
|
|
var $ = require('../internals/export');
|
|
var $find = require('../internals/async-iterator-iteration').find;
|
|
|
|
$({ target: 'AsyncIterator', proto: true, real: true }, {
|
|
find: function find(fn) {
|
|
return $find(this, fn);
|
|
}
|
|
});
|