Sign in
webkit
/
WebKit
/
e6c7dac2f50ee13b16d871ec191130691b2258f5
/
.
/
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"
);