UNPKG

454 BJavaScriptView Raw
1"use strict";
2// Type-only circular import
3// eslint-disable-next-line import/no-cycle
4Object.defineProperty(exports, "__esModule", { value: true });
5var internalSlotMap = new WeakMap();
6function getInternalSlots(x) {
7 var internalSlots = internalSlotMap.get(x);
8 if (!internalSlots) {
9 internalSlots = Object.create(null);
10 internalSlotMap.set(x, internalSlots);
11 }
12 return internalSlots;
13}
14exports.default = getInternalSlots;