aboutsummaryrefslogtreecommitdiff
path: root/node_modules/babel-register/node_modules/core-js/library/modules/_same-value.js
blob: c6d045e831b7b26fb73b686750c23258be58dc63 (plain)
1
2
3
4
5
// 7.2.9 SameValue(x, y)
module.exports = Object.is || function is(x, y) {
  // eslint-disable-next-line no-self-compare
  return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;
};