Sign in
chromium
/
devtools
/
devtools-frontend
/
refs/heads/chromium/7232
/
.
/
node_modules
/
es-abstract
/
2021
/
SameValueZero.js
blob: 3e2851b5ee656e7e2432c12f777ced1e516f720d [
file
] [
edit
]
'use strict'
;
var
$isNaN
=
require
(
'../helpers/isNaN'
);
// https://262.ecma-international.org/6.0/#sec-samevaluezero
module
.
exports
=
function
SameValueZero
(
x
,
y
)
{
return
(
x
===
y
)
||
(
$isNaN
(
x
)
&&
$isNaN
(
y
));
};