We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent edf79ab commit 000b95eCopy full SHA for 000b95e
packages/react/src/utils.js
@@ -1,4 +1,4 @@
1
// @flow
2
export let isBrowser = typeof document !== 'undefined'
3
4
-export const hasOwn = Object.hasOwn
+export const hasOwn = Object.prototype.hasOwnProperty.call
0 commit comments