Opal-Estate-Pro/node_modules/core-js/modules/_same-value.js

6 lines
190 B
JavaScript
Raw Normal View History

2019-09-13 06:27:52 +02:00
// 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;
};