diff options
Diffstat (limited to 'node_modules/core-js/modules/es.map.js')
| -rw-r--r-- | node_modules/core-js/modules/es.map.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/node_modules/core-js/modules/es.map.js b/node_modules/core-js/modules/es.map.js new file mode 100644 index 0000000..fa8ecce --- /dev/null +++ b/node_modules/core-js/modules/es.map.js @@ -0,0 +1,9 @@ +'use strict'; +var collection = require('../internals/collection'); +var collectionStrong = require('../internals/collection-strong'); + +// `Map` constructor +// https://tc39.github.io/ecma262/#sec-map-objects +module.exports = collection('Map', function (init) { + return function Map() { return init(this, arguments.length ? arguments[0] : undefined); }; +}, collectionStrong); |
