stonev5-utils
Version:
all my utils here
12 lines • 369 B
JavaScript
const prefix = "11aUa1WLNBpAf1CWCSZwZ4eEt3D78";
export function getGlobal(key) {
const globalThisAny = globalThis;
return globalThisAny[prefix + key];
}
export function setGlobal(key, v) {
const globalThisAny = globalThis;
const old = globalThisAny[prefix + key];
globalThisAny[prefix + key] = v;
return old;
}
//# sourceMappingURL=global.js.map