2017-05-28 00:38:50 +02:00
|
|
|
'use strict';
|
2017-08-14 05:01:11 +02:00
|
|
|
var $export = require('./_export');
|
|
|
|
var $map = require('./_array-methods')(1);
|
2017-05-28 00:38:50 +02:00
|
|
|
|
|
|
|
$export($export.P + $export.F * !require('./_strict-method')([].map, true), 'Array', {
|
|
|
|
// 22.1.3.15 / 15.4.4.19 Array.prototype.map(callbackfn [, thisArg])
|
2017-08-14 05:01:11 +02:00
|
|
|
map: function map(callbackfn /* , thisArg */) {
|
2017-05-28 00:38:50 +02:00
|
|
|
return $map(this, callbackfn, arguments[1]);
|
|
|
|
}
|
2017-08-14 05:01:11 +02:00
|
|
|
});
|