Skip to content

Commit

Permalink
Prefer simpler notation
Browse files Browse the repository at this point in the history
  • Loading branch information
iegik committed Feb 27, 2024
1 parent 000b95e commit d44be1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react/src/utils.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// @flow
export let isBrowser = typeof document !== 'undefined'

export const hasOwn = Object.prototype.hasOwnProperty.call
export const hasOwn = {}.hasOwnProperty.call

0 comments on commit d44be1b

Please sign in to comment.