source:
frontend/node_modules/core-js-pure/internals/same-value-zero.js
| Last change on this file was 9af201e, checked in by , 11 days ago | |
|---|---|
|
|
| File size: 235 bytes | |
| Line | |
|---|---|
| 1 | 'use strict'; |
| 2 | // `SameValueZero` abstract operation |
| 3 | // https://tc39.es/ecma262/#sec-samevaluezero |
| 4 | module.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.
