Opal-Estate-Pro/node_modules/core-js/modules/es6.array.map.js
2019-09-13 11:27:52 +07:00

11 lines
359 B
JavaScript

'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]);
}
});