source: node_modules/core-js-pure/internals/same-value-zero.js

main
Last change on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago

Initial commit

  • Property mode set to 100644
File size: 235 bytes
Line 
1'use strict';
2// `SameValueZero` abstract operation
3// https://tc39.es/ecma262/#sec-samevaluezero
4module.exports = function (x, y) {
5 // eslint-disable-next-line no-self-compare -- NaN check
6 return x === y || x !== x && y !== y;
7};
Note: See TracBrowser for help on using the repository browser.