wallet-core/node_modules/core-js/modules/$.same-value.js

4 lines
142 B
JavaScript
Raw Normal View History

2017-05-03 15:35:00 +02:00
// 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;
};