securityos/node_modules/core-js/library/modules/es6.array.map.js

11 lines
359 B
JavaScript
Raw Normal View History

2024-09-06 15:32:35 +00:00
'use strict';
var $export = require('./_export');
var $map = require('./_array-methods')(1);
$export($export.P + $export.F * !require('./_strict-method')([].map, true), 'Array', {
// 22.1.3.15 / 15.4.4.19 Array.prototype.map(callbackfn [, thisArg])
map: function map(callbackfn /* , thisArg */) {
return $map(this, callbackfn, arguments[1]);
}
});