Skip to content

Commit 000b95e

Browse files
committed
Map hasOwn to Object.prototype.hasOwnProperty.call
To support old targets
1 parent edf79ab commit 000b95e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react/src/utils.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
// @flow
22
export let isBrowser = typeof document !== 'undefined'
33

4-
export const hasOwn = Object.hasOwn
4+
export const hasOwn = Object.prototype.hasOwnProperty.call

0 commit comments

Comments
 (0)