()
| 186 | |
| 187 | let _globalThis: any |
| 188 | export const getGlobalThis = (): any => { |
| 189 | return ( |
| 190 | _globalThis || |
| 191 | (_globalThis = |
| 192 | typeof globalThis !== 'undefined' |
| 193 | ? globalThis |
| 194 | : typeof self !== 'undefined' |
| 195 | ? self |
| 196 | : typeof window !== 'undefined' |
| 197 | ? window |
| 198 | : typeof global !== 'undefined' |
| 199 | ? global |
| 200 | : {}) |
| 201 | ) |
| 202 | } |
| 203 | |
| 204 | const identRE = /^[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*$/ |
| 205 |
no outgoing calls
no test coverage detected