16 lines
426 B
JavaScript
16 lines
426 B
JavaScript
'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
|
|
};
|