We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 167e1f9 commit b2e8200Copy full SHA for b2e8200
1 file changed
src/act-compat.js
@@ -16,15 +16,19 @@ function actPolyfill(cb) {
16
}
17
18
function getGlobalThis() {
19
+ /* istanbul ignore else */
20
if (typeof self !== 'undefined') {
21
return self
22
23
+ /* istanbul ignore next */
24
if (typeof window !== 'undefined') {
25
return window
26
27
28
if (typeof global !== 'undefined') {
29
return global
30
31
32
throw new Error('unable to locate global object')
33
34
0 commit comments