aboutsummaryrefslogtreecommitdiff
path: root/node_modules/core-js/library/modules/es6.array.map.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/core-js/library/modules/es6.array.map.js')
-rw-r--r--node_modules/core-js/library/modules/es6.array.map.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/node_modules/core-js/library/modules/es6.array.map.js b/node_modules/core-js/library/modules/es6.array.map.js
new file mode 100644
index 000000000..f70089f3e
--- /dev/null
+++ b/node_modules/core-js/library/modules/es6.array.map.js
@@ -0,0 +1,10 @@
+'use strict';
+var $export = require('./_export')
+ , $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]);
+ }
+}); \ No newline at end of file