You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
426 B
15 lines
426 B
'use strict';
|
|
var uncurryThis = require('../internals/function-uncurry-this');
|
|
|
|
// eslint-disable-next-line es/no-map -- safe
|
|
var MapPrototype = Map.prototype;
|
|
|
|
module.exports = {
|
|
// eslint-disable-next-line es/no-map -- safe
|
|
Map: Map,
|
|
set: uncurryThis(MapPrototype.set),
|
|
get: uncurryThis(MapPrototype.get),
|
|
has: uncurryThis(MapPrototype.has),
|
|
remove: uncurryThis(MapPrototype['delete']),
|
|
proto: MapPrototype
|
|
};
|
|
|