UNPKG

@formatjs/intl-numberformat

Version:

Ponyfill for ES2020 Intl.NumberFormat

14 lines (13 loc) 410 B
"use strict"; // Type-only circular import Object.defineProperty(exports, "__esModule", { value: true }); exports.default = getInternalSlots; var internalSlotMap = new WeakMap(); function getInternalSlots(x) { var internalSlots = internalSlotMap.get(x); if (!internalSlots) { internalSlots = Object.create(null); internalSlotMap.set(x, internalSlots); } return internalSlots; }