amis-rpc-design/node_modules/core-js/internals/map-helpers.js
2023-10-07 19:42:30 +08:00

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
};