Fix assert in the Date prototype

JerryScript-DCO-1.0-Signed-off-by: Kristof Kosztyo kkosztyo.u-szeged@partner.samsung.com
This commit is contained in:
Kristof Kosztyo
2015-07-23 14:34:36 +02:00
parent 8f594aebfa
commit c8884a4561
3 changed files with 60 additions and 12 deletions
+6
View File
@@ -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;