mirror of
https://github.com/musix-org/musix-oss
synced 2024-12-23 16:13:18 +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);
|
|
}
|
|
});
|