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");