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