Skip to content

Commit d44be1b

Browse files
committed
Prefer simpler notation
1 parent 000b95e commit d44be1b

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.prototype.hasOwnProperty.call
4+
export const hasOwn = {}.hasOwnProperty.call

0 commit comments

Comments
 (0)