We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f717032 commit 906fa89Copy full SHA for 906fa89
src/core/util/env.js
@@ -41,7 +41,9 @@ export function isNative (Ctor: Function): boolean {
41
return /native code/.test(Ctor.toString())
42
}
43
44
-export const hasSymbol = typeof Symbol !== 'undefined' && isNative(Symbol)
+export const hasSymbol =
45
+ typeof Symbol !== 'undefined' && isNative(Symbol) &&
46
+ typeof Reflect !== 'undefined' && isNative(Reflect.ownKeys)
47
48
/**
49
* Defer a task to execute it asynchronously.
0 commit comments