aboutsummaryrefslogtreecommitdiff
path: root/node_modules/core-js/fn/map
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/core-js/fn/map')
-rw-r--r--node_modules/core-js/fn/map/from.js8
-rw-r--r--node_modules/core-js/fn/map/index.js8
-rw-r--r--node_modules/core-js/fn/map/of.js8
3 files changed, 24 insertions, 0 deletions
diff --git a/node_modules/core-js/fn/map/from.js b/node_modules/core-js/fn/map/from.js
new file mode 100644
index 000000000..4ecc195a8
--- /dev/null
+++ b/node_modules/core-js/fn/map/from.js
@@ -0,0 +1,8 @@
+'use strict';
+require('../../modules/es6.map');
+require('../../modules/es7.map.from');
+var $Map = require('../../modules/_core').Map;
+var $from = $Map.from;
+module.exports = function from(source, mapFn, thisArg) {
+ return $from.call(typeof this === 'function' ? this : $Map, source, mapFn, thisArg);
+};
diff --git a/node_modules/core-js/fn/map/index.js b/node_modules/core-js/fn/map/index.js
new file mode 100644
index 000000000..26d88ee29
--- /dev/null
+++ b/node_modules/core-js/fn/map/index.js
@@ -0,0 +1,8 @@
+require('../../modules/es6.object.to-string');
+require('../../modules/es6.string.iterator');
+require('../../modules/web.dom.iterable');
+require('../../modules/es6.map');
+require('../../modules/es7.map.to-json');
+require('../../modules/es7.map.of');
+require('../../modules/es7.map.from');
+module.exports = require('../../modules/_core').Map;
diff --git a/node_modules/core-js/fn/map/of.js b/node_modules/core-js/fn/map/of.js
new file mode 100644
index 000000000..f23b459c9
--- /dev/null
+++ b/node_modules/core-js/fn/map/of.js
@@ -0,0 +1,8 @@
+'use strict';
+require('../../modules/es6.map');
+require('../../modules/es7.map.of');
+var $Map = require('../../modules/_core').Map;
+var $of = $Map.of;
+module.exports = function of() {
+ return $of.apply(typeof this === 'function' ? this : $Map, arguments);
+};