This commit is contained in:
2023-08-11 10:45:20 +08:00
commit 161ca982f3
31850 changed files with 2706500 additions and 0 deletions

17
node_modules/core-js/modules/esnext.map.every.js generated vendored Normal file
View File

@ -0,0 +1,17 @@
'use strict';
var $ = require('../internals/export');
var bind = require('../internals/function-bind-context');
var aMap = require('../internals/a-map');
var iterate = require('../internals/map-iterate');
// `Map.prototype.every` method
// https://github.com/tc39/proposal-collection-methods
$({ target: 'Map', proto: true, real: true, forced: true }, {
every: function every(callbackfn /* , thisArg */) {
var map = aMap(this);
var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined);
return iterate(map, function (value, key) {
if (!boundFunction(value, key, map)) return false;
}, true) !== false;
}
});