(k: string, def?: any)
| 6 | } |
| 7 | |
| 8 | public static get(k: string, def?: any) { |
| 9 | if (GlobalVariable.map.has(k)) { |
| 10 | return GlobalVariable.map.get(k); |
| 11 | } else { |
| 12 | return def; |
| 13 | } |
| 14 | } |
| 15 | |
| 16 | public static del(k: string) { |
| 17 | return GlobalVariable.map.delete(k); |
no outgoing calls
no test coverage detected