10 lines
367 B
JavaScript
10 lines
367 B
JavaScript
'use strict';
|
|
var collection = require('../internals/collection');
|
|
var collectionStrong = require('../internals/collection-strong');
|
|
|
|
// `Map` constructor
|
|
// https://tc39.es/ecma262/#sec-map-objects
|
|
module.exports = collection('Map', function (init) {
|
|
return function Map() { return init(this, arguments.length ? arguments[0] : undefined); };
|
|
}, collectionStrong);
|