aboutsummaryrefslogtreecommitdiff
path: root/node_modules/core-js/library/fn/map/of.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/core-js/library/fn/map/of.js')
-rw-r--r--node_modules/core-js/library/fn/map/of.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/node_modules/core-js/library/fn/map/of.js b/node_modules/core-js/library/fn/map/of.js
new file mode 100644
index 00000000..f23b459c
--- /dev/null
+++ b/node_modules/core-js/library/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);
+};