UNPKG

488 BJavaScriptView Raw
1"use strict";
2
3Object.defineProperty(exports, "__esModule", {
4 value: true
5});
6exports.clear = clear;
7exports.clearPath = clearPath;
8exports.clearScope = clearScope;
9exports.scope = exports.path = void 0;
10let path = new WeakMap();
11exports.path = path;
12let scope = new WeakMap();
13exports.scope = scope;
14
15function clear() {
16 clearPath();
17 clearScope();
18}
19
20function clearPath() {
21 exports.path = path = new WeakMap();
22}
23
24function clearScope() {
25 exports.scope = scope = new WeakMap();
26}
\No newline at end of file