Fix assert in the Date prototype
JerryScript-DCO-1.0-Signed-off-by: Kristof Kosztyo [email protected]
This commit is contained in:
1 parent
8f594aebfa
commit
c8884a4561
3 files changed
+60
-12
No files matched your search
@@ -52,6 +52,12 @@ assert (d.valueOf() == 8.64e+15);
|
||||
d = new Date(8.64e+15 + 1);
|
||||
assert (isNaN(d.valueOf()));
|
||||
|
||||
d = new Date(20000000, 0, 1);
|
||||
assert (isNaN(d.valueOf()));
|
||||
|
||||
d = new Date(0, 20000000, 1);
|
||||
assert (isNaN(d.valueOf()));
|
||||
|
||||
var Obj = function (val)
|
||||
{
|
||||
this.value = val;
|
||||
|
||||
Reference in new issue
Block a user