source:
trip-planner-front/node_modules/core-js/internals/same-value-zero.js@
188ee53
Last change on this file since 188ee53 was 6a3a178, checked in by , 3 years ago | |
---|---|
|
|
File size: 219 bytes |
Rev | Line | |
---|---|---|
[6a3a178] | 1 | // `SameValueZero` abstract operation |
2 | // https://tc39.es/ecma262/#sec-samevaluezero | |
3 | module.exports = function (x, y) { | |
4 | // eslint-disable-next-line no-self-compare -- NaN check | |
5 | return x === y || x != x && y != y; | |
6 | }; |
Note:
See TracBrowser
for help on using the repository browser.