Version 1
[yaffs-website] / node_modules / core-js / library / modules / es6.array.map.js
1 'use strict';
2 var $export = require('./_export')
3   , $map    = require('./_array-methods')(1);
4
5 $export($export.P + $export.F * !require('./_strict-method')([].map, true), 'Array', {
6   // 22.1.3.15 / 15.4.4.19 Array.prototype.map(callbackfn [, thisArg])
7   map: function map(callbackfn /* , thisArg */){
8     return $map(this, callbackfn, arguments[1]);
9   }
10 });