UNPKG

213 BJavaScriptView Raw
1// `SameValueZero` abstract operation
2// https://tc39.github.io/ecma262/#sec-samevaluezero
3module.exports = function (x, y) {
4 // eslint-disable-next-line no-self-compare
5 return x === y || x != x && y != y;
6};