Sign in
webkit
/
WebKit
/
c8ebe6770b1d290f0306adc1b70346f8e88294cf
/
.
/
JSTests
/
es6
/
miscellaneous_Invalid_Date.js
blob: 61d7c23aaceb5fa39e7766160a92cfcf0e458475 [
file
] [
log
] [
blame
]
function
test
()
{
return
new
Date
(
NaN
)
+
""
===
"Invalid Date"
;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);