mirror of
https://github.com/Snigdha-OS/documentation.git
synced 2025-09-07 19:25:13 +02:00
12 lines
364 B
JavaScript
12 lines
364 B
JavaScript
'use strict';
|
|
var $ = require('../internals/export');
|
|
var $every = require('../internals/async-iterator-iteration').every;
|
|
|
|
// `AsyncIterator.prototype.every` method
|
|
// https://github.com/tc39/proposal-async-iterator-helpers
|
|
$({ target: 'AsyncIterator', proto: true, real: true }, {
|
|
every: function every(predicate) {
|
|
return $every(this, predicate);
|
|
}
|
|
});
|