You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
4 lines
142 B
JavaScript
4 lines
142 B
JavaScript
7 years ago
|
// 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;
|
||
|
};
|