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