Sign in
webkit
/
WebKit
/
3f78a298b8cb2d7ccc1b4dafb89a4d60eb2fbe8f
/
.
/
JSTests
/
es6
/
Object_static_methods_Object.is.js
blob: 44c0915f058ed722a112fa1e261bc7af500aba23 [
file
] [
log
] [
blame
]
function
test
()
{
return
typeof
Object
.
is
===
'function'
&&
Object
.
is
(
NaN
,
NaN
)
&&
!
Object
.
is
(-
0
,
0
);
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);