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