2017-09-13 07:52:34 +02:00

4 lines
142 B
JavaScript
Vendored

// 7.2.9 SameValue(x, y)
module.exports = Object.is || function is(x, y){
return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;
};