es.map.js 367 B

123456789
  1. 'use strict';
  2. var collection = require('../internals/collection');
  3. var collectionStrong = require('../internals/collection-strong');
  4. // `Map` constructor
  5. // https://tc39.es/ecma262/#sec-map-objects
  6. module.exports = collection('Map', function (init) {
  7. return function Map() { return init(this, arguments.length ? arguments[0] : undefined); };
  8. }, collectionStrong);