mirror of
https://github.com/tc39/test262.git
synced 2025-05-03 06:20:37 +02:00
7 lines
225 B
JavaScript
7 lines
225 B
JavaScript
// Reviewed
|
|
// Regression test for 159883. This test should not crash or throw an exception.
|
|
|
|
d = new Date(-0x80000000, 42);
|
|
if (d.toString() != "Invalid Date")
|
|
throw "Expected \"Invalid Date\", but got :\"" + d + "\"";
|