hexo/node_modules/core-js/modules/es6.array.map.js

11 lines
369 B
JavaScript
Raw Normal View History

2023-10-03 11:14:36 +08: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]);
}
});