Skip to content

Commit

Permalink
Optimize objectIs (#16212)
Browse files Browse the repository at this point in the history
  • Loading branch information
ku8ar authored and trueadm committed Sep 17, 2019
1 parent d1c2555 commit d862f0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/shared/objectIs.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ function is(x: any, y: any) {
);
}

export default is;
export default (typeof Object.is === 'function' ? Object.is : is);

0 comments on commit d862f0e

Please sign in to comment.