built-ins/Date/*: make all indentation consistent (depth & character) (#1422)

This commit is contained in:
Rick Waldron 2018-02-15 16:40:26 -05:00 committed by Leo Balter
parent 6c50d46b39
commit b59d956b3c
391 changed files with 1011 additions and 932 deletions

View File

@ -10,10 +10,10 @@ description: >
absent absent
---*/ ---*/
var result = false; var result = false;
var expectedDateTimeStr = "1970-01-01T00:00:00.000Z"; var expectedDateTimeStr = "1970-01-01T00:00:00.000Z";
var dateObj = new Date("1970"); var dateObj = new Date("1970");
var dateStr = dateObj.toISOString(); var dateStr = dateObj.toISOString();
result = dateStr === expectedDateTimeStr; result = dateStr === expectedDateTimeStr;
assert(result, 'result !== true'); assert(result, 'result !== true');

View File

@ -11,71 +11,71 @@ description: Checking type of returned value
---*/ ---*/
//CHECK#1 //CHECK#1
if( typeof Date() !== "string" ) { if (typeof Date() !== "string") {
$ERROR('#1: typeof Date() should be "string", actual is '+(typeof Date())); $ERROR('#1: typeof Date() should be "string", actual is ' + (typeof Date()));
} }
//CHECK#2 //CHECK#2
if( typeof Date(1) !== "string" ) { if (typeof Date(1) !== "string") {
$ERROR('#2: typeof Date(1) should be "string", actual is '+(typeof Date(1))); $ERROR('#2: typeof Date(1) should be "string", actual is ' + (typeof Date(1)));
} }
//CHECK#3 //CHECK#3
if( typeof Date(1970, 1) !== "string" ) { if (typeof Date(1970, 1) !== "string") {
$ERROR('#3: typeof Date(1970, 1) should be "string", actual is '+(typeof Date(1970, 1))); $ERROR('#3: typeof Date(1970, 1) should be "string", actual is ' + (typeof Date(1970, 1)));
} }
//CHECK#4 //CHECK#4
if( typeof Date(1970, 1, 1) !== "string" ) { if (typeof Date(1970, 1, 1) !== "string") {
$ERROR('#4: typeof Date(1970, 1, 1) should be "string", actual is '+(typeof Date(1970, 1, 1))); $ERROR('#4: typeof Date(1970, 1, 1) should be "string", actual is ' + (typeof Date(1970, 1, 1)));
} }
//CHECK#5 //CHECK#5
if( typeof Date(1970, 1, 1, 1) !== "string" ) { if (typeof Date(1970, 1, 1, 1) !== "string") {
$ERROR('#5: typeof Date(1970, 1, 1, 1) should be "string", actual is '+(typeof Date(1970, 1, 1, 1))); $ERROR('#5: typeof Date(1970, 1, 1, 1) should be "string", actual is ' + (typeof Date(1970, 1, 1, 1)));
} }
//CHECK#6 //CHECK#6
if( typeof Date(1970, 1, 1, 1) !== "string" ) { if (typeof Date(1970, 1, 1, 1) !== "string") {
$ERROR('#7: typeof Date(1970, 1, 1, 1) should be "string", actual is '+(typeof Date(1970, 1, 1, 1))); $ERROR('#7: typeof Date(1970, 1, 1, 1) should be "string", actual is ' + (typeof Date(1970, 1, 1, 1)));
} }
//CHECK#8 //CHECK#8
if( typeof Date(1970, 1, 1, 1, 0) !== "string" ) { if (typeof Date(1970, 1, 1, 1, 0) !== "string") {
$ERROR('#8: typeof Date(1970, 1, 1, 1, 0) should be "string", actual is '+(typeof Date(1970, 1, 1, 1, 0))); $ERROR('#8: typeof Date(1970, 1, 1, 1, 0) should be "string", actual is ' + (typeof Date(1970, 1, 1, 1, 0)));
} }
//CHECK#9 //CHECK#9
if( typeof Date(1970, 1, 1, 1, 0, 0) !== "string" ) { if (typeof Date(1970, 1, 1, 1, 0, 0) !== "string") {
$ERROR('#9: typeof Date(1970, 1, 1, 1, 0, 0) should be "string", actual is '+(typeof Date(1970, 1, 1, 1, 0, 0))); $ERROR('#9: typeof Date(1970, 1, 1, 1, 0, 0) should be "string", actual is ' + (typeof Date(1970, 1, 1, 1, 0, 0)));
} }
//CHECK#10 //CHECK#10
if( typeof Date(1970, 1, 1, 1, 0, 0, 0) !== "string" ) { if (typeof Date(1970, 1, 1, 1, 0, 0, 0) !== "string") {
$ERROR('#10: typeof Date(1970, 1, 1, 1, 0, 0, 0) should be "string", actual is '+(typeof Date(1970, 1, 1, 1, 0, 0, 0))); $ERROR('#10: typeof Date(1970, 1, 1, 1, 0, 0, 0) should be "string", actual is ' + (typeof Date(1970, 1, 1, 1, 0, 0, 0)));
} }
//CHECK#11 //CHECK#11
if( typeof Date(Number.NaN) !== "string" ) { if (typeof Date(Number.NaN) !== "string") {
$ERROR('#11: typeof Date(Number.NaN) should be "string", actual is '+(typeof Date(Number.NaN))); $ERROR('#11: typeof Date(Number.NaN) should be "string", actual is ' + (typeof Date(Number.NaN)));
} }
//CHECK#12 //CHECK#12
if( typeof Date(Number.POSITIVE_INFINITY) !== "string" ) { if (typeof Date(Number.POSITIVE_INFINITY) !== "string") {
$ERROR('#12: typeof Date(Number.POSITIVE_INFINITY) should be "string", actual is '+(typeof Date(Number.POSITIVE_INFINITY))); $ERROR('#12: typeof Date(Number.POSITIVE_INFINITY) should be "string", actual is ' + (typeof Date(Number.POSITIVE_INFINITY)));
} }
//CHECK#13 //CHECK#13
if( typeof Date(Number.NEGATIVE_INFINITY) !== "string" ) { if (typeof Date(Number.NEGATIVE_INFINITY) !== "string") {
$ERROR('#13: typeof Date(Number.NEGATIVE_INFINITY) should be "string", actual is '+(typeof Date(Number.NEGATIVE_INFINITY))); $ERROR('#13: typeof Date(Number.NEGATIVE_INFINITY) should be "string", actual is ' + (typeof Date(Number.NEGATIVE_INFINITY)));
} }
//CHECK#14 //CHECK#14
if( typeof Date(undefined) !== "string" ) { if (typeof Date(undefined) !== "string") {
$ERROR('#14: typeof Date(undefined) should be "string", actual is '+(typeof Date(undefined))); $ERROR('#14: typeof Date(undefined) should be "string", actual is ' + (typeof Date(undefined)));
} }
//CHECK#15 //CHECK#15
if( typeof Date(null) !== "string" ) { if (typeof Date(null) !== "string") {
$ERROR('#15: typeof Date(null) should be "string", actual is '+(typeof Date(null))); $ERROR('#15: typeof Date(null) should be "string", actual is ' + (typeof Date(null)));
} }

View File

@ -22,71 +22,71 @@ function isEqual(d1, d2) {
} }
//CHECK#1 //CHECK#1
if( !isEqual(Date(), (new Date()).toString()) ) { if (!isEqual(Date(), (new Date()).toString())) {
$ERROR('#1: Date() is equal to (new Date()).toString()'); $ERROR('#1: Date() is equal to (new Date()).toString()');
} }
//CHECK#2 //CHECK#2
if( !isEqual(Date(1), (new Date()).toString()) ) { if (!isEqual(Date(1), (new Date()).toString())) {
$ERROR('#2: Date(1) is equal to (new Date()).toString()'); $ERROR('#2: Date(1) is equal to (new Date()).toString()');
} }
//CHECK#3 //CHECK#3
if( !isEqual(Date(1970, 1), (new Date()).toString()) ) { if (!isEqual(Date(1970, 1), (new Date()).toString())) {
$ERROR('#3: Date(1970, 1) is equal to (new Date()).toString()'); $ERROR('#3: Date(1970, 1) is equal to (new Date()).toString()');
} }
//CHECK#4 //CHECK#4
if( !isEqual(Date(1970, 1, 1), (new Date()).toString()) ) { if (!isEqual(Date(1970, 1, 1), (new Date()).toString())) {
$ERROR('#4: Date(1970, 1, 1) is equal to (new Date()).toString()'); $ERROR('#4: Date(1970, 1, 1) is equal to (new Date()).toString()');
} }
//CHECK#5 //CHECK#5
if( !isEqual(Date(1970, 1, 1, 1), (new Date()).toString()) ) { if (!isEqual(Date(1970, 1, 1, 1), (new Date()).toString())) {
$ERROR('#5: Date(1970, 1, 1, 1) is equal to (new Date()).toString()'); $ERROR('#5: Date(1970, 1, 1, 1) is equal to (new Date()).toString()');
} }
//CHECK#6 //CHECK#6
if( !isEqual(Date(1970, 1, 1, 1), (new Date()).toString()) ) { if (!isEqual(Date(1970, 1, 1, 1), (new Date()).toString())) {
$ERROR('#7: Date(1970, 1, 1, 1) is equal to (new Date()).toString()'); $ERROR('#7: Date(1970, 1, 1, 1) is equal to (new Date()).toString()');
} }
//CHECK#8 //CHECK#8
if( !isEqual(Date(1970, 1, 1, 1, 0), (new Date()).toString()) ) { if (!isEqual(Date(1970, 1, 1, 1, 0), (new Date()).toString())) {
$ERROR('#8: Date(1970, 1, 1, 1, 0) is equal to (new Date()).toString()'); $ERROR('#8: Date(1970, 1, 1, 1, 0) is equal to (new Date()).toString()');
} }
//CHECK#9 //CHECK#9
if( !isEqual(Date(1970, 1, 1, 1, 0, 0), (new Date()).toString()) ) { if (!isEqual(Date(1970, 1, 1, 1, 0, 0), (new Date()).toString())) {
$ERROR('#9: Date(1970, 1, 1, 1, 0, 0) is equal to (new Date()).toString()'); $ERROR('#9: Date(1970, 1, 1, 1, 0, 0) is equal to (new Date()).toString()');
} }
//CHECK#10 //CHECK#10
if( !isEqual(Date(1970, 1, 1, 1, 0, 0, 0), (new Date()).toString()) ) { if (!isEqual(Date(1970, 1, 1, 1, 0, 0, 0), (new Date()).toString())) {
$ERROR('#10: Date(1970, 1, 1, 1, 0, 0, 0) is equal to (new Date()).toString()'); $ERROR('#10: Date(1970, 1, 1, 1, 0, 0, 0) is equal to (new Date()).toString()');
} }
//CHECK#11 //CHECK#11
if( !isEqual(Date(Number.NaN), (new Date()).toString()) ) { if (!isEqual(Date(Number.NaN), (new Date()).toString())) {
$ERROR('#11: Date(Number.NaN) is equal to (new Date()).toString()'); $ERROR('#11: Date(Number.NaN) is equal to (new Date()).toString()');
} }
//CHECK#12 //CHECK#12
if( !isEqual(Date(Number.POSITIVE_INFINITY), (new Date()).toString()) ) { if (!isEqual(Date(Number.POSITIVE_INFINITY), (new Date()).toString())) {
$ERROR('#12: Date(Number.POSITIVE_INFINITY) is equal to (new Date()).toString()'); $ERROR('#12: Date(Number.POSITIVE_INFINITY) is equal to (new Date()).toString()');
} }
//CHECK#13 //CHECK#13
if( !isEqual(Date(Number.NEGATIVE_INFINITY), (new Date()).toString()) ) { if (!isEqual(Date(Number.NEGATIVE_INFINITY), (new Date()).toString())) {
$ERROR('#13: Date(Number.NEGATIVE_INFINITY) is equal to (new Date()).toString()'); $ERROR('#13: Date(Number.NEGATIVE_INFINITY) is equal to (new Date()).toString()');
} }
//CHECK#14 //CHECK#14
if( !isEqual(Date(undefined), (new Date()).toString()) ) { if (!isEqual(Date(undefined), (new Date()).toString())) {
$ERROR('#14: Date(undefined) is equal to (new Date()).toString()'); $ERROR('#14: Date(undefined) is equal to (new Date()).toString()');
} }
//CHECK#15 //CHECK#15
if( !isEqual(Date(null), (new Date()).toString()) ) { if (!isEqual(Date(null), (new Date()).toString())) {
$ERROR('#15: Date(null) is equal to (new Date()).toString()'); $ERROR('#15: Date(null) is equal to (new Date()).toString()');
} }

View File

@ -19,12 +19,12 @@ if (new Date(1899, 11) === undefined) {
} }
var x13 = new Date(1899, 11); var x13 = new Date(1899, 11);
if(typeof x13 !== "object"){ if (typeof x13 !== "object") {
$ERROR("#1.3: typeof new Date(1899, 11) should be 'object'"); $ERROR("#1.3: typeof new Date(1899, 11) should be 'object'");
} }
var x14 = new Date(1899, 11); var x14 = new Date(1899, 11);
if(x14 === undefined){ if (x14 === undefined) {
$ERROR("#1.4: new Date(1899, 11) should not be undefined"); $ERROR("#1.4: new Date(1899, 11) should not be undefined");
} }
@ -37,12 +37,12 @@ if (new Date(1899, 12) === undefined) {
} }
var x23 = new Date(1899, 12); var x23 = new Date(1899, 12);
if(typeof x23 !== "object"){ if (typeof x23 !== "object") {
$ERROR("#2.3: typeof new Date(1899, 12) should be 'object'"); $ERROR("#2.3: typeof new Date(1899, 12) should be 'object'");
} }
var x24 = new Date(1899, 12); var x24 = new Date(1899, 12);
if(x24 === undefined){ if (x24 === undefined) {
$ERROR("#2.4: new Date(1899, 12) should not be undefined"); $ERROR("#2.4: new Date(1899, 12) should not be undefined");
} }
@ -55,12 +55,12 @@ if (new Date(1900, 0) === undefined) {
} }
var x33 = new Date(1900, 0); var x33 = new Date(1900, 0);
if(typeof x33 !== "object"){ if (typeof x33 !== "object") {
$ERROR("#3.3: typeof new Date(1900, 0) should be 'object'"); $ERROR("#3.3: typeof new Date(1900, 0) should be 'object'");
} }
var x34 = new Date(1900, 0); var x34 = new Date(1900, 0);
if(x34 === undefined){ if (x34 === undefined) {
$ERROR("#3.4: new Date(1900, 0) should not be undefined"); $ERROR("#3.4: new Date(1900, 0) should not be undefined");
} }
@ -73,12 +73,12 @@ if (new Date(1969, 11) === undefined) {
} }
var x43 = new Date(1969, 11); var x43 = new Date(1969, 11);
if(typeof x43 !== "object"){ if (typeof x43 !== "object") {
$ERROR("#4.3: typeof new Date(1969, 11) should be 'object'"); $ERROR("#4.3: typeof new Date(1969, 11) should be 'object'");
} }
var x44 = new Date(1969, 11); var x44 = new Date(1969, 11);
if(x44 === undefined){ if (x44 === undefined) {
$ERROR("#4.4: new Date(1969, 11) should not be undefined"); $ERROR("#4.4: new Date(1969, 11) should not be undefined");
} }
@ -91,12 +91,12 @@ if (new Date(1969, 12) === undefined) {
} }
var x53 = new Date(1969, 12); var x53 = new Date(1969, 12);
if(typeof x53 !== "object"){ if (typeof x53 !== "object") {
$ERROR("#5.3: typeof new Date(1969, 12) should be 'object'"); $ERROR("#5.3: typeof new Date(1969, 12) should be 'object'");
} }
var x54 = new Date(1969, 12); var x54 = new Date(1969, 12);
if(x54 === undefined){ if (x54 === undefined) {
$ERROR("#5.4: new Date(1969, 12) should not be undefined"); $ERROR("#5.4: new Date(1969, 12) should not be undefined");
} }
@ -109,12 +109,12 @@ if (new Date(1970, 0) === undefined) {
} }
var x63 = new Date(1970, 0); var x63 = new Date(1970, 0);
if(typeof x63 !== "object"){ if (typeof x63 !== "object") {
$ERROR("#6.3: typeof new Date(1970, 0) should be 'object'"); $ERROR("#6.3: typeof new Date(1970, 0) should be 'object'");
} }
var x64 = new Date(1970, 0); var x64 = new Date(1970, 0);
if(x64 === undefined){ if (x64 === undefined) {
$ERROR("#6.4: new Date(1970, 0) should not be undefined"); $ERROR("#6.4: new Date(1970, 0) should not be undefined");
} }
@ -127,12 +127,12 @@ if (new Date(1999, 11) === undefined) {
} }
var x73 = new Date(1999, 11); var x73 = new Date(1999, 11);
if(typeof x73 !== "object"){ if (typeof x73 !== "object") {
$ERROR("#7.3: typeof new Date(1999, 11) should be 'object'"); $ERROR("#7.3: typeof new Date(1999, 11) should be 'object'");
} }
var x74 = new Date(1999, 11); var x74 = new Date(1999, 11);
if(x74 === undefined){ if (x74 === undefined) {
$ERROR("#7.4: new Date(1999, 11) should not be undefined"); $ERROR("#7.4: new Date(1999, 11) should not be undefined");
} }
@ -145,12 +145,12 @@ if (new Date(1999, 12) === undefined) {
} }
var x83 = new Date(1999, 12); var x83 = new Date(1999, 12);
if(typeof x83 !== "object"){ if (typeof x83 !== "object") {
$ERROR("#8.3: typeof new Date(1999, 12) should be 'object'"); $ERROR("#8.3: typeof new Date(1999, 12) should be 'object'");
} }
var x84 = new Date(1999, 12); var x84 = new Date(1999, 12);
if(x84 === undefined){ if (x84 === undefined) {
$ERROR("#8.4: new Date(1999, 12) should not be undefined"); $ERROR("#8.4: new Date(1999, 12) should not be undefined");
} }
@ -163,12 +163,12 @@ if (new Date(2000, 0) === undefined) {
} }
var x93 = new Date(2000, 0); var x93 = new Date(2000, 0);
if(typeof x93 !== "object"){ if (typeof x93 !== "object") {
$ERROR("#9.3: typeof new Date(2000, 0) should be 'object'"); $ERROR("#9.3: typeof new Date(2000, 0) should be 'object'");
} }
var x94 = new Date(2000, 0); var x94 = new Date(2000, 0);
if(x94 === undefined){ if (x94 === undefined) {
$ERROR("#9.4: new Date(2000, 0) should not be undefined"); $ERROR("#9.4: new Date(2000, 0) should not be undefined");
} }
@ -181,12 +181,12 @@ if (new Date(2099, 11) === undefined) {
} }
var x103 = new Date(2099, 11); var x103 = new Date(2099, 11);
if(typeof x103 !== "object"){ if (typeof x103 !== "object") {
$ERROR("#10.3: typeof new Date(2099, 11) should be 'object'"); $ERROR("#10.3: typeof new Date(2099, 11) should be 'object'");
} }
var x104 = new Date(2099, 11); var x104 = new Date(2099, 11);
if(x104 === undefined){ if (x104 === undefined) {
$ERROR("#10.4: new Date(2099, 11) should not be undefined"); $ERROR("#10.4: new Date(2099, 11) should not be undefined");
} }
@ -199,12 +199,12 @@ if (new Date(2099, 12) === undefined) {
} }
var x113 = new Date(2099, 12); var x113 = new Date(2099, 12);
if(typeof x113 !== "object"){ if (typeof x113 !== "object") {
$ERROR("#11.3: typeof new Date(2099, 12) should be 'object'"); $ERROR("#11.3: typeof new Date(2099, 12) should be 'object'");
} }
var x114 = new Date(2099, 12); var x114 = new Date(2099, 12);
if(x114 === undefined){ if (x114 === undefined) {
$ERROR("#11.4: new Date(2099, 12) should not be undefined"); $ERROR("#11.4: new Date(2099, 12) should not be undefined");
} }
@ -217,11 +217,11 @@ if (new Date(2100, 0) === undefined) {
} }
var x123 = new Date(2100, 0); var x123 = new Date(2100, 0);
if(typeof x123 !== "object"){ if (typeof x123 !== "object") {
$ERROR("#12.3: typeof new Date(2100, 0) should be 'object'"); $ERROR("#12.3: typeof new Date(2100, 0) should be 'object'");
} }
var x124 = new Date(2100, 0); var x124 = new Date(2100, 0);
if(x124 === undefined){ if (x124 === undefined) {
$ERROR("#12.4: new Date(2100, 0) should not be undefined"); $ERROR("#12.4: new Date(2100, 0) should not be undefined");
} }

View File

@ -19,12 +19,12 @@ if (new Date(1899, 11, 31) === undefined) {
} }
var x13 = new Date(1899, 11, 31); var x13 = new Date(1899, 11, 31);
if(typeof x13 !== "object"){ if (typeof x13 !== "object") {
$ERROR("#1.3: typeof new Date(1899, 11, 31) should be 'object'"); $ERROR("#1.3: typeof new Date(1899, 11, 31) should be 'object'");
} }
var x14 = new Date(1899, 11, 31); var x14 = new Date(1899, 11, 31);
if(x14 === undefined){ if (x14 === undefined) {
$ERROR("#1.4: new Date(1899, 11, 31) should not be undefined"); $ERROR("#1.4: new Date(1899, 11, 31) should not be undefined");
} }
@ -37,12 +37,12 @@ if (new Date(1899, 12, 1) === undefined) {
} }
var x23 = new Date(1899, 12, 1); var x23 = new Date(1899, 12, 1);
if(typeof x23 !== "object"){ if (typeof x23 !== "object") {
$ERROR("#2.3: typeof new Date(1899, 12, 1) should be 'object'"); $ERROR("#2.3: typeof new Date(1899, 12, 1) should be 'object'");
} }
var x24 = new Date(1899, 12, 1); var x24 = new Date(1899, 12, 1);
if(x24 === undefined){ if (x24 === undefined) {
$ERROR("#2.4: new Date(1899, 12, 1) should not be undefined"); $ERROR("#2.4: new Date(1899, 12, 1) should not be undefined");
} }
@ -55,12 +55,12 @@ if (new Date(1900, 0, 1) === undefined) {
} }
var x33 = new Date(1900, 0, 1); var x33 = new Date(1900, 0, 1);
if(typeof x33 !== "object"){ if (typeof x33 !== "object") {
$ERROR("#3.3: typeof new Date(1900, 0, 1) should be 'object'"); $ERROR("#3.3: typeof new Date(1900, 0, 1) should be 'object'");
} }
var x34 = new Date(1900, 0, 1); var x34 = new Date(1900, 0, 1);
if(x34 === undefined){ if (x34 === undefined) {
$ERROR("#3.4: new Date(1900, 0, 1) should not be undefined"); $ERROR("#3.4: new Date(1900, 0, 1) should not be undefined");
} }
@ -73,12 +73,12 @@ if (new Date(1969, 11, 31) === undefined) {
} }
var x43 = new Date(1969, 11, 31); var x43 = new Date(1969, 11, 31);
if(typeof x43 !== "object"){ if (typeof x43 !== "object") {
$ERROR("#4.3: typeof new Date(1969, 11, 31) should be 'object'"); $ERROR("#4.3: typeof new Date(1969, 11, 31) should be 'object'");
} }
var x44 = new Date(1969, 11, 31); var x44 = new Date(1969, 11, 31);
if(x44 === undefined){ if (x44 === undefined) {
$ERROR("#4.4: new Date(1969, 11, 31) should not be undefined"); $ERROR("#4.4: new Date(1969, 11, 31) should not be undefined");
} }
@ -91,12 +91,12 @@ if (new Date(1969, 12, 1) === undefined) {
} }
var x53 = new Date(1969, 12, 1); var x53 = new Date(1969, 12, 1);
if(typeof x53 !== "object"){ if (typeof x53 !== "object") {
$ERROR("#5.3: typeof new Date(1969, 12, 1) should be 'object'"); $ERROR("#5.3: typeof new Date(1969, 12, 1) should be 'object'");
} }
var x54 = new Date(1969, 12, 1); var x54 = new Date(1969, 12, 1);
if(x54 === undefined){ if (x54 === undefined) {
$ERROR("#5.4: new Date(1969, 12, 1) should not be undefined"); $ERROR("#5.4: new Date(1969, 12, 1) should not be undefined");
} }
@ -109,12 +109,12 @@ if (new Date(1970, 0, 1) === undefined) {
} }
var x63 = new Date(1970, 0, 1); var x63 = new Date(1970, 0, 1);
if(typeof x63 !== "object"){ if (typeof x63 !== "object") {
$ERROR("#6.3: typeof new Date(1970, 0, 1) should be 'object'"); $ERROR("#6.3: typeof new Date(1970, 0, 1) should be 'object'");
} }
var x64 = new Date(1970, 0, 1); var x64 = new Date(1970, 0, 1);
if(x64 === undefined){ if (x64 === undefined) {
$ERROR("#6.4: new Date(1970, 0, 1) should not be undefined"); $ERROR("#6.4: new Date(1970, 0, 1) should not be undefined");
} }
@ -127,12 +127,12 @@ if (new Date(1999, 11, 31) === undefined) {
} }
var x73 = new Date(1999, 11, 31); var x73 = new Date(1999, 11, 31);
if(typeof x73 !== "object"){ if (typeof x73 !== "object") {
$ERROR("#7.3: typeof new Date(1999, 11, 31) should be 'object'"); $ERROR("#7.3: typeof new Date(1999, 11, 31) should be 'object'");
} }
var x74 = new Date(1999, 11, 31); var x74 = new Date(1999, 11, 31);
if(x74 === undefined){ if (x74 === undefined) {
$ERROR("#7.4: new Date(1999, 11, 31) should not be undefined"); $ERROR("#7.4: new Date(1999, 11, 31) should not be undefined");
} }
@ -145,12 +145,12 @@ if (new Date(1999, 12, 1) === undefined) {
} }
var x83 = new Date(1999, 12, 1); var x83 = new Date(1999, 12, 1);
if(typeof x83 !== "object"){ if (typeof x83 !== "object") {
$ERROR("#8.3: typeof new Date(1999, 12, 1) should be 'object'"); $ERROR("#8.3: typeof new Date(1999, 12, 1) should be 'object'");
} }
var x84 = new Date(1999, 12, 1); var x84 = new Date(1999, 12, 1);
if(x84 === undefined){ if (x84 === undefined) {
$ERROR("#8.4: new Date(1999, 12, 1) should not be undefined"); $ERROR("#8.4: new Date(1999, 12, 1) should not be undefined");
} }
@ -163,12 +163,12 @@ if (new Date(2000, 0, 1) === undefined) {
} }
var x93 = new Date(2000, 0, 1); var x93 = new Date(2000, 0, 1);
if(typeof x93 !== "object"){ if (typeof x93 !== "object") {
$ERROR("#9.3: typeof new Date(2000, 0, 1) should be 'object'"); $ERROR("#9.3: typeof new Date(2000, 0, 1) should be 'object'");
} }
var x94 = new Date(2000, 0, 1); var x94 = new Date(2000, 0, 1);
if(x94 === undefined){ if (x94 === undefined) {
$ERROR("#9.4: new Date(2000, 0, 1) should not be undefined"); $ERROR("#9.4: new Date(2000, 0, 1) should not be undefined");
} }
@ -181,12 +181,12 @@ if (new Date(2099, 11, 31) === undefined) {
} }
var x103 = new Date(2099, 11, 31); var x103 = new Date(2099, 11, 31);
if(typeof x103 !== "object"){ if (typeof x103 !== "object") {
$ERROR("#10.3: typeof new Date(2099, 11, 31) should be 'object'"); $ERROR("#10.3: typeof new Date(2099, 11, 31) should be 'object'");
} }
var x104 = new Date(2099, 11, 31); var x104 = new Date(2099, 11, 31);
if(x104 === undefined){ if (x104 === undefined) {
$ERROR("#10.4: new Date(2099, 11, 31) should not be undefined"); $ERROR("#10.4: new Date(2099, 11, 31) should not be undefined");
} }
@ -199,12 +199,12 @@ if (new Date(2099, 12, 1) === undefined) {
} }
var x113 = new Date(2099, 12, 1); var x113 = new Date(2099, 12, 1);
if(typeof x113 !== "object"){ if (typeof x113 !== "object") {
$ERROR("#11.3: typeof new Date(2099, 12, 1) should be 'object'"); $ERROR("#11.3: typeof new Date(2099, 12, 1) should be 'object'");
} }
var x114 = new Date(2099, 12, 1); var x114 = new Date(2099, 12, 1);
if(x114 === undefined){ if (x114 === undefined) {
$ERROR("#11.4: new Date(2099, 12, 1) should not be undefined"); $ERROR("#11.4: new Date(2099, 12, 1) should not be undefined");
} }
@ -217,11 +217,11 @@ if (new Date(2100, 0, 1) === undefined) {
} }
var x123 = new Date(2100, 0, 1); var x123 = new Date(2100, 0, 1);
if(typeof x123 !== "object"){ if (typeof x123 !== "object") {
$ERROR("#12.3: typeof new Date(2100, 0, 1) should be 'object'"); $ERROR("#12.3: typeof new Date(2100, 0, 1) should be 'object'");
} }
var x124 = new Date(2100, 0, 1); var x124 = new Date(2100, 0, 1);
if(x124 === undefined){ if (x124 === undefined) {
$ERROR("#12.4: new Date(2100, 0, 1) should not be undefined"); $ERROR("#12.4: new Date(2100, 0, 1) should not be undefined");
} }

View File

@ -19,12 +19,12 @@ if (new Date(1899, 11, 31, 23) === undefined) {
} }
var x13 = new Date(1899, 11, 31, 23); var x13 = new Date(1899, 11, 31, 23);
if(typeof x13 !== "object"){ if (typeof x13 !== "object") {
$ERROR("#1.3: typeof new Date(1899, 11, 31, 23) should be 'object'"); $ERROR("#1.3: typeof new Date(1899, 11, 31, 23) should be 'object'");
} }
var x14 = new Date(1899, 11, 31, 23); var x14 = new Date(1899, 11, 31, 23);
if(x14 === undefined){ if (x14 === undefined) {
$ERROR("#1.4: new Date(1899, 11, 31, 23) should not be undefined"); $ERROR("#1.4: new Date(1899, 11, 31, 23) should not be undefined");
} }
@ -37,12 +37,12 @@ if (new Date(1899, 12, 1, 0) === undefined) {
} }
var x23 = new Date(1899, 12, 1, 0); var x23 = new Date(1899, 12, 1, 0);
if(typeof x23 !== "object"){ if (typeof x23 !== "object") {
$ERROR("#2.3: typeof new Date(1899, 12, 1, 0) should be 'object'"); $ERROR("#2.3: typeof new Date(1899, 12, 1, 0) should be 'object'");
} }
var x24 = new Date(1899, 12, 1, 0); var x24 = new Date(1899, 12, 1, 0);
if(x24 === undefined){ if (x24 === undefined) {
$ERROR("#2.4: new Date(1899, 12, 1, 0) should not be undefined"); $ERROR("#2.4: new Date(1899, 12, 1, 0) should not be undefined");
} }
@ -55,12 +55,12 @@ if (new Date(1900, 0, 1, 0) === undefined) {
} }
var x33 = new Date(1900, 0, 1, 0); var x33 = new Date(1900, 0, 1, 0);
if(typeof x33 !== "object"){ if (typeof x33 !== "object") {
$ERROR("#3.3: typeof new Date(1900, 0, 1, 0) should be 'object'"); $ERROR("#3.3: typeof new Date(1900, 0, 1, 0) should be 'object'");
} }
var x34 = new Date(1900, 0, 1, 0); var x34 = new Date(1900, 0, 1, 0);
if(x34 === undefined){ if (x34 === undefined) {
$ERROR("#3.4: new Date(1900, 0, 1, 0) should not be undefined"); $ERROR("#3.4: new Date(1900, 0, 1, 0) should not be undefined");
} }
@ -73,12 +73,12 @@ if (new Date(1969, 11, 31, 23) === undefined) {
} }
var x43 = new Date(1969, 11, 31, 23); var x43 = new Date(1969, 11, 31, 23);
if(typeof x43 !== "object"){ if (typeof x43 !== "object") {
$ERROR("#4.3: typeof new Date(1969, 11, 31, 23) should be 'object'"); $ERROR("#4.3: typeof new Date(1969, 11, 31, 23) should be 'object'");
} }
var x44 = new Date(1969, 11, 31, 23); var x44 = new Date(1969, 11, 31, 23);
if(x44 === undefined){ if (x44 === undefined) {
$ERROR("#4.4: new Date(1969, 11, 31, 23) should not be undefined"); $ERROR("#4.4: new Date(1969, 11, 31, 23) should not be undefined");
} }
@ -91,12 +91,12 @@ if (new Date(1969, 12, 1, 0) === undefined) {
} }
var x53 = new Date(1969, 12, 1, 0); var x53 = new Date(1969, 12, 1, 0);
if(typeof x53 !== "object"){ if (typeof x53 !== "object") {
$ERROR("#5.3: typeof new Date(1969, 12, 1, 0) should be 'object'"); $ERROR("#5.3: typeof new Date(1969, 12, 1, 0) should be 'object'");
} }
var x54 = new Date(1969, 12, 1, 0); var x54 = new Date(1969, 12, 1, 0);
if(x54 === undefined){ if (x54 === undefined) {
$ERROR("#5.4: new Date(1969, 12, 1, 0) should not be undefined"); $ERROR("#5.4: new Date(1969, 12, 1, 0) should not be undefined");
} }
@ -109,12 +109,12 @@ if (new Date(1970, 0, 1, 0) === undefined) {
} }
var x63 = new Date(1970, 0, 1, 0); var x63 = new Date(1970, 0, 1, 0);
if(typeof x63 !== "object"){ if (typeof x63 !== "object") {
$ERROR("#6.3: typeof new Date(1970, 0, 1, 0) should be 'object'"); $ERROR("#6.3: typeof new Date(1970, 0, 1, 0) should be 'object'");
} }
var x64 = new Date(1970, 0, 1, 0); var x64 = new Date(1970, 0, 1, 0);
if(x64 === undefined){ if (x64 === undefined) {
$ERROR("#6.4: new Date(1970, 0, 1, 0) should not be undefined"); $ERROR("#6.4: new Date(1970, 0, 1, 0) should not be undefined");
} }
@ -127,12 +127,12 @@ if (new Date(1999, 11, 31, 23) === undefined) {
} }
var x73 = new Date(1999, 11, 31, 23); var x73 = new Date(1999, 11, 31, 23);
if(typeof x73 !== "object"){ if (typeof x73 !== "object") {
$ERROR("#7.3: typeof new Date(1999, 11, 31, 23) should be 'object'"); $ERROR("#7.3: typeof new Date(1999, 11, 31, 23) should be 'object'");
} }
var x74 = new Date(1999, 11, 31, 23); var x74 = new Date(1999, 11, 31, 23);
if(x74 === undefined){ if (x74 === undefined) {
$ERROR("#7.4: new Date(1999, 11, 31, 23) should not be undefined"); $ERROR("#7.4: new Date(1999, 11, 31, 23) should not be undefined");
} }
@ -145,12 +145,12 @@ if (new Date(1999, 12, 1, 0) === undefined) {
} }
var x83 = new Date(1999, 12, 1, 0); var x83 = new Date(1999, 12, 1, 0);
if(typeof x83 !== "object"){ if (typeof x83 !== "object") {
$ERROR("#8.3: typeof new Date(1999, 12, 1, 0) should be 'object'"); $ERROR("#8.3: typeof new Date(1999, 12, 1, 0) should be 'object'");
} }
var x84 = new Date(1999, 12, 1, 0); var x84 = new Date(1999, 12, 1, 0);
if(x84 === undefined){ if (x84 === undefined) {
$ERROR("#8.4: new Date(1999, 12, 1, 0) should not be undefined"); $ERROR("#8.4: new Date(1999, 12, 1, 0) should not be undefined");
} }
@ -163,12 +163,12 @@ if (new Date(2000, 0, 1, 0) === undefined) {
} }
var x93 = new Date(2000, 0, 1, 0); var x93 = new Date(2000, 0, 1, 0);
if(typeof x93 !== "object"){ if (typeof x93 !== "object") {
$ERROR("#9.3: typeof new Date(2000, 0, 1, 0) should be 'object'"); $ERROR("#9.3: typeof new Date(2000, 0, 1, 0) should be 'object'");
} }
var x94 = new Date(2000, 0, 1, 0); var x94 = new Date(2000, 0, 1, 0);
if(x94 === undefined){ if (x94 === undefined) {
$ERROR("#9.4: new Date(2000, 0, 1, 0) should not be undefined"); $ERROR("#9.4: new Date(2000, 0, 1, 0) should not be undefined");
} }
@ -181,12 +181,12 @@ if (new Date(2099, 11, 31, 23) === undefined) {
} }
var x103 = new Date(2099, 11, 31, 23); var x103 = new Date(2099, 11, 31, 23);
if(typeof x103 !== "object"){ if (typeof x103 !== "object") {
$ERROR("#10.3: typeof new Date(2099, 11, 31, 23) should be 'object'"); $ERROR("#10.3: typeof new Date(2099, 11, 31, 23) should be 'object'");
} }
var x104 = new Date(2099, 11, 31, 23); var x104 = new Date(2099, 11, 31, 23);
if(x104 === undefined){ if (x104 === undefined) {
$ERROR("#10.4: new Date(2099, 11, 31, 23) should not be undefined"); $ERROR("#10.4: new Date(2099, 11, 31, 23) should not be undefined");
} }
@ -199,12 +199,12 @@ if (new Date(2099, 12, 1, 0) === undefined) {
} }
var x113 = new Date(2099, 12, 1, 0); var x113 = new Date(2099, 12, 1, 0);
if(typeof x113 !== "object"){ if (typeof x113 !== "object") {
$ERROR("#11.3: typeof new Date(2099, 12, 1, 0) should be 'object'"); $ERROR("#11.3: typeof new Date(2099, 12, 1, 0) should be 'object'");
} }
var x114 = new Date(2099, 12, 1, 0); var x114 = new Date(2099, 12, 1, 0);
if(x114 === undefined){ if (x114 === undefined) {
$ERROR("#11.4: new Date(2099, 12, 1, 0) should not be undefined"); $ERROR("#11.4: new Date(2099, 12, 1, 0) should not be undefined");
} }
@ -217,11 +217,11 @@ if (new Date(2100, 0, 1, 0) === undefined) {
} }
var x123 = new Date(2100, 0, 1, 0); var x123 = new Date(2100, 0, 1, 0);
if(typeof x123 !== "object"){ if (typeof x123 !== "object") {
$ERROR("#12.3: typeof new Date(2100, 0, 1, 0) should be 'object'"); $ERROR("#12.3: typeof new Date(2100, 0, 1, 0) should be 'object'");
} }
var x124 = new Date(2100, 0, 1, 0); var x124 = new Date(2100, 0, 1, 0);
if(x124 === undefined){ if (x124 === undefined) {
$ERROR("#12.4: new Date(2100, 0, 1, 0) should not be undefined"); $ERROR("#12.4: new Date(2100, 0, 1, 0) should not be undefined");
} }

View File

@ -19,12 +19,12 @@ if (new Date(1899, 11, 31, 23, 59) === undefined) {
} }
var x13 = new Date(1899, 11, 31, 23, 59); var x13 = new Date(1899, 11, 31, 23, 59);
if(typeof x13 !== "object"){ if (typeof x13 !== "object") {
$ERROR("#1.3: typeof new Date(1899, 11, 31, 23, 59) should be 'object'"); $ERROR("#1.3: typeof new Date(1899, 11, 31, 23, 59) should be 'object'");
} }
var x14 = new Date(1899, 11, 31, 23, 59); var x14 = new Date(1899, 11, 31, 23, 59);
if(x14 === undefined){ if (x14 === undefined) {
$ERROR("#1.4: new Date(1899, 11, 31, 23, 59) should not be undefined"); $ERROR("#1.4: new Date(1899, 11, 31, 23, 59) should not be undefined");
} }
@ -37,12 +37,12 @@ if (new Date(1899, 12, 1, 0, 0) === undefined) {
} }
var x23 = new Date(1899, 12, 1, 0, 0); var x23 = new Date(1899, 12, 1, 0, 0);
if(typeof x23 !== "object"){ if (typeof x23 !== "object") {
$ERROR("#2.3: typeof new Date(1899, 12, 1, 0, 0) should be 'object'"); $ERROR("#2.3: typeof new Date(1899, 12, 1, 0, 0) should be 'object'");
} }
var x24 = new Date(1899, 12, 1, 0, 0); var x24 = new Date(1899, 12, 1, 0, 0);
if(x24 === undefined){ if (x24 === undefined) {
$ERROR("#2.4: new Date(1899, 12, 1, 0, 0) should not be undefined"); $ERROR("#2.4: new Date(1899, 12, 1, 0, 0) should not be undefined");
} }
@ -55,12 +55,12 @@ if (new Date(1900, 0, 1, 0, 0) === undefined) {
} }
var x33 = new Date(1900, 0, 1, 0, 0); var x33 = new Date(1900, 0, 1, 0, 0);
if(typeof x33 !== "object"){ if (typeof x33 !== "object") {
$ERROR("#3.3: typeof new Date(1900, 0, 1, 0, 0) should be 'object'"); $ERROR("#3.3: typeof new Date(1900, 0, 1, 0, 0) should be 'object'");
} }
var x34 = new Date(1900, 0, 1, 0, 0); var x34 = new Date(1900, 0, 1, 0, 0);
if(x34 === undefined){ if (x34 === undefined) {
$ERROR("#3.4: new Date(1900, 0, 1, 0, 0) should not be undefined"); $ERROR("#3.4: new Date(1900, 0, 1, 0, 0) should not be undefined");
} }
@ -73,12 +73,12 @@ if (new Date(1969, 11, 31, 23, 59) === undefined) {
} }
var x43 = new Date(1969, 11, 31, 23, 59); var x43 = new Date(1969, 11, 31, 23, 59);
if(typeof x43 !== "object"){ if (typeof x43 !== "object") {
$ERROR("#4.3: typeof new Date(1969, 11, 31, 23, 59) should be 'object'"); $ERROR("#4.3: typeof new Date(1969, 11, 31, 23, 59) should be 'object'");
} }
var x44 = new Date(1969, 11, 31, 23, 59); var x44 = new Date(1969, 11, 31, 23, 59);
if(x44 === undefined){ if (x44 === undefined) {
$ERROR("#4.4: new Date(1969, 11, 31, 23, 59) should not be undefined"); $ERROR("#4.4: new Date(1969, 11, 31, 23, 59) should not be undefined");
} }
@ -91,12 +91,12 @@ if (new Date(1969, 12, 1, 0, 0) === undefined) {
} }
var x53 = new Date(1969, 12, 1, 0, 0); var x53 = new Date(1969, 12, 1, 0, 0);
if(typeof x53 !== "object"){ if (typeof x53 !== "object") {
$ERROR("#5.3: typeof new Date(1969, 12, 1, 0, 0) should be 'object'"); $ERROR("#5.3: typeof new Date(1969, 12, 1, 0, 0) should be 'object'");
} }
var x54 = new Date(1969, 12, 1, 0, 0); var x54 = new Date(1969, 12, 1, 0, 0);
if(x54 === undefined){ if (x54 === undefined) {
$ERROR("#5.4: new Date(1969, 12, 1, 0, 0) should not be undefined"); $ERROR("#5.4: new Date(1969, 12, 1, 0, 0) should not be undefined");
} }
@ -109,12 +109,12 @@ if (new Date(1970, 0, 1, 0, 0) === undefined) {
} }
var x63 = new Date(1970, 0, 1, 0, 0); var x63 = new Date(1970, 0, 1, 0, 0);
if(typeof x63 !== "object"){ if (typeof x63 !== "object") {
$ERROR("#6.3: typeof new Date(1970, 0, 1, 0, 0) should be 'object'"); $ERROR("#6.3: typeof new Date(1970, 0, 1, 0, 0) should be 'object'");
} }
var x64 = new Date(1970, 0, 1, 0, 0); var x64 = new Date(1970, 0, 1, 0, 0);
if(x64 === undefined){ if (x64 === undefined) {
$ERROR("#6.4: new Date(1970, 0, 1, 0, 0) should not be undefined"); $ERROR("#6.4: new Date(1970, 0, 1, 0, 0) should not be undefined");
} }
@ -127,12 +127,12 @@ if (new Date(1999, 11, 31, 23, 59) === undefined) {
} }
var x73 = new Date(1999, 11, 31, 23, 59); var x73 = new Date(1999, 11, 31, 23, 59);
if(typeof x73 !== "object"){ if (typeof x73 !== "object") {
$ERROR("#7.3: typeof new Date(1999, 11, 31, 23, 59) should be 'object'"); $ERROR("#7.3: typeof new Date(1999, 11, 31, 23, 59) should be 'object'");
} }
var x74 = new Date(1999, 11, 31, 23, 59); var x74 = new Date(1999, 11, 31, 23, 59);
if(x74 === undefined){ if (x74 === undefined) {
$ERROR("#7.4: new Date(1999, 11, 31, 23, 59) should not be undefined"); $ERROR("#7.4: new Date(1999, 11, 31, 23, 59) should not be undefined");
} }
@ -145,12 +145,12 @@ if (new Date(1999, 12, 1, 0, 0) === undefined) {
} }
var x83 = new Date(1999, 12, 1, 0, 0); var x83 = new Date(1999, 12, 1, 0, 0);
if(typeof x83 !== "object"){ if (typeof x83 !== "object") {
$ERROR("#8.3: typeof new Date(1999, 12, 1, 0, 0) should be 'object'"); $ERROR("#8.3: typeof new Date(1999, 12, 1, 0, 0) should be 'object'");
} }
var x84 = new Date(1999, 12, 1, 0, 0); var x84 = new Date(1999, 12, 1, 0, 0);
if(x84 === undefined){ if (x84 === undefined) {
$ERROR("#8.4: new Date(1999, 12, 1, 0, 0) should not be undefined"); $ERROR("#8.4: new Date(1999, 12, 1, 0, 0) should not be undefined");
} }
@ -163,12 +163,12 @@ if (new Date(2000, 0, 1, 0, 0) === undefined) {
} }
var x93 = new Date(2000, 0, 1, 0, 0); var x93 = new Date(2000, 0, 1, 0, 0);
if(typeof x93 !== "object"){ if (typeof x93 !== "object") {
$ERROR("#9.3: typeof new Date(2000, 0, 1, 0, 0) should be 'object'"); $ERROR("#9.3: typeof new Date(2000, 0, 1, 0, 0) should be 'object'");
} }
var x94 = new Date(2000, 0, 1, 0, 0); var x94 = new Date(2000, 0, 1, 0, 0);
if(x94 === undefined){ if (x94 === undefined) {
$ERROR("#9.4: new Date(2000, 0, 1, 0, 0) should not be undefined"); $ERROR("#9.4: new Date(2000, 0, 1, 0, 0) should not be undefined");
} }
@ -181,12 +181,12 @@ if (new Date(2099, 11, 31, 23, 59) === undefined) {
} }
var x103 = new Date(2099, 11, 31, 23, 59); var x103 = new Date(2099, 11, 31, 23, 59);
if(typeof x103 !== "object"){ if (typeof x103 !== "object") {
$ERROR("#10.3: typeof new Date(2099, 11, 31, 23, 59) should be 'object'"); $ERROR("#10.3: typeof new Date(2099, 11, 31, 23, 59) should be 'object'");
} }
var x104 = new Date(2099, 11, 31, 23, 59); var x104 = new Date(2099, 11, 31, 23, 59);
if(x104 === undefined){ if (x104 === undefined) {
$ERROR("#10.4: new Date(2099, 11, 31, 23, 59) should not be undefined"); $ERROR("#10.4: new Date(2099, 11, 31, 23, 59) should not be undefined");
} }
@ -199,12 +199,12 @@ if (new Date(2099, 12, 1, 0, 0) === undefined) {
} }
var x113 = new Date(2099, 12, 1, 0, 0); var x113 = new Date(2099, 12, 1, 0, 0);
if(typeof x113 !== "object"){ if (typeof x113 !== "object") {
$ERROR("#11.3: typeof new Date(2099, 12, 1, 0, 0) should be 'object'"); $ERROR("#11.3: typeof new Date(2099, 12, 1, 0, 0) should be 'object'");
} }
var x114 = new Date(2099, 12, 1, 0, 0); var x114 = new Date(2099, 12, 1, 0, 0);
if(x114 === undefined){ if (x114 === undefined) {
$ERROR("#11.4: new Date(2099, 12, 1, 0, 0) should not be undefined"); $ERROR("#11.4: new Date(2099, 12, 1, 0, 0) should not be undefined");
} }
@ -217,11 +217,11 @@ if (new Date(2100, 0, 1, 0, 0) === undefined) {
} }
var x123 = new Date(2100, 0, 1, 0, 0); var x123 = new Date(2100, 0, 1, 0, 0);
if(typeof x123 !== "object"){ if (typeof x123 !== "object") {
$ERROR("#12.3: typeof new Date(2100, 0, 1, 0, 0) should be 'object'"); $ERROR("#12.3: typeof new Date(2100, 0, 1, 0, 0) should be 'object'");
} }
var x124 = new Date(2100, 0, 1, 0, 0); var x124 = new Date(2100, 0, 1, 0, 0);
if(x124 === undefined){ if (x124 === undefined) {
$ERROR("#12.4: new Date(2100, 0, 1, 0, 0) should not be undefined"); $ERROR("#12.4: new Date(2100, 0, 1, 0, 0) should not be undefined");
} }

View File

@ -19,12 +19,12 @@ if (new Date(1899, 11, 31, 23, 59, 59) === undefined) {
} }
var x13 = new Date(1899, 11, 31, 23, 59, 59); var x13 = new Date(1899, 11, 31, 23, 59, 59);
if(typeof x13 !== "object"){ if (typeof x13 !== "object") {
$ERROR("#1.3: typeof new Date(1899, 11, 31, 23, 59, 59) should be 'object'"); $ERROR("#1.3: typeof new Date(1899, 11, 31, 23, 59, 59) should be 'object'");
} }
var x14 = new Date(1899, 11, 31, 23, 59, 59); var x14 = new Date(1899, 11, 31, 23, 59, 59);
if(x14 === undefined){ if (x14 === undefined) {
$ERROR("#1.4: new Date(1899, 11, 31, 23, 59, 59) should not be undefined"); $ERROR("#1.4: new Date(1899, 11, 31, 23, 59, 59) should not be undefined");
} }
@ -37,12 +37,12 @@ if (new Date(1899, 12, 1, 0, 0, 0) === undefined) {
} }
var x23 = new Date(1899, 12, 1, 0, 0, 0); var x23 = new Date(1899, 12, 1, 0, 0, 0);
if(typeof x23 !== "object"){ if (typeof x23 !== "object") {
$ERROR("#2.3: typeof new Date(1899, 12, 1, 0, 0, 0) should be 'object'"); $ERROR("#2.3: typeof new Date(1899, 12, 1, 0, 0, 0) should be 'object'");
} }
var x24 = new Date(1899, 12, 1, 0, 0, 0); var x24 = new Date(1899, 12, 1, 0, 0, 0);
if(x24 === undefined){ if (x24 === undefined) {
$ERROR("#2.4: new Date(1899, 12, 1, 0, 0, 0) should not be undefined"); $ERROR("#2.4: new Date(1899, 12, 1, 0, 0, 0) should not be undefined");
} }
@ -55,12 +55,12 @@ if (new Date(1900, 0, 1, 0, 0, 0) === undefined) {
} }
var x33 = new Date(1900, 0, 1, 0, 0, 0); var x33 = new Date(1900, 0, 1, 0, 0, 0);
if(typeof x33 !== "object"){ if (typeof x33 !== "object") {
$ERROR("#3.3: typeof new Date(1900, 0, 1, 0, 0, 0) should be 'object'"); $ERROR("#3.3: typeof new Date(1900, 0, 1, 0, 0, 0) should be 'object'");
} }
var x34 = new Date(1900, 0, 1, 0, 0, 0); var x34 = new Date(1900, 0, 1, 0, 0, 0);
if(x34 === undefined){ if (x34 === undefined) {
$ERROR("#3.4: new Date(1900, 0, 1, 0, 0, 0) should not be undefined"); $ERROR("#3.4: new Date(1900, 0, 1, 0, 0, 0) should not be undefined");
} }
@ -73,12 +73,12 @@ if (new Date(1969, 11, 31, 23, 59, 59) === undefined) {
} }
var x43 = new Date(1969, 11, 31, 23, 59, 59); var x43 = new Date(1969, 11, 31, 23, 59, 59);
if(typeof x43 !== "object"){ if (typeof x43 !== "object") {
$ERROR("#4.3: typeof new Date(1969, 11, 31, 23, 59, 59) should be 'object'"); $ERROR("#4.3: typeof new Date(1969, 11, 31, 23, 59, 59) should be 'object'");
} }
var x44 = new Date(1969, 11, 31, 23, 59, 59); var x44 = new Date(1969, 11, 31, 23, 59, 59);
if(x44 === undefined){ if (x44 === undefined) {
$ERROR("#4.4: new Date(1969, 11, 31, 23, 59, 59) should not be undefined"); $ERROR("#4.4: new Date(1969, 11, 31, 23, 59, 59) should not be undefined");
} }
@ -91,12 +91,12 @@ if (new Date(1969, 12, 1, 0, 0, 0) === undefined) {
} }
var x53 = new Date(1969, 12, 1, 0, 0, 0); var x53 = new Date(1969, 12, 1, 0, 0, 0);
if(typeof x53 !== "object"){ if (typeof x53 !== "object") {
$ERROR("#5.3: typeof new Date(1969, 12, 1, 0, 0, 0) should be 'object'"); $ERROR("#5.3: typeof new Date(1969, 12, 1, 0, 0, 0) should be 'object'");
} }
var x54 = new Date(1969, 12, 1, 0, 0, 0); var x54 = new Date(1969, 12, 1, 0, 0, 0);
if(x54 === undefined){ if (x54 === undefined) {
$ERROR("#5.4: new Date(1969, 12, 1, 0, 0, 0) should not be undefined"); $ERROR("#5.4: new Date(1969, 12, 1, 0, 0, 0) should not be undefined");
} }
@ -109,12 +109,12 @@ if (new Date(1970, 0, 1, 0, 0, 0) === undefined) {
} }
var x63 = new Date(1970, 0, 1, 0, 0, 0); var x63 = new Date(1970, 0, 1, 0, 0, 0);
if(typeof x63 !== "object"){ if (typeof x63 !== "object") {
$ERROR("#6.3: typeof new Date(1970, 0, 1, 0, 0, 0) should be 'object'"); $ERROR("#6.3: typeof new Date(1970, 0, 1, 0, 0, 0) should be 'object'");
} }
var x64 = new Date(1970, 0, 1, 0, 0, 0); var x64 = new Date(1970, 0, 1, 0, 0, 0);
if(x64 === undefined){ if (x64 === undefined) {
$ERROR("#6.4: new Date(1970, 0, 1, 0, 0, 0) should not be undefined"); $ERROR("#6.4: new Date(1970, 0, 1, 0, 0, 0) should not be undefined");
} }
@ -127,12 +127,12 @@ if (new Date(1999, 11, 31, 23, 59, 59) === undefined) {
} }
var x73 = new Date(1999, 11, 31, 23, 59, 59); var x73 = new Date(1999, 11, 31, 23, 59, 59);
if(typeof x73 !== "object"){ if (typeof x73 !== "object") {
$ERROR("#7.3: typeof new Date(1999, 11, 31, 23, 59, 59) should be 'object'"); $ERROR("#7.3: typeof new Date(1999, 11, 31, 23, 59, 59) should be 'object'");
} }
var x74 = new Date(1999, 11, 31, 23, 59, 59); var x74 = new Date(1999, 11, 31, 23, 59, 59);
if(x74 === undefined){ if (x74 === undefined) {
$ERROR("#7.4: new Date(1999, 11, 31, 23, 59, 59) should not be undefined"); $ERROR("#7.4: new Date(1999, 11, 31, 23, 59, 59) should not be undefined");
} }
@ -145,12 +145,12 @@ if (new Date(1999, 12, 1, 0, 0, 0) === undefined) {
} }
var x83 = new Date(1999, 12, 1, 0, 0, 0); var x83 = new Date(1999, 12, 1, 0, 0, 0);
if(typeof x83 !== "object"){ if (typeof x83 !== "object") {
$ERROR("#8.3: typeof new Date(1999, 12, 1, 0, 0, 0) should be 'object'"); $ERROR("#8.3: typeof new Date(1999, 12, 1, 0, 0, 0) should be 'object'");
} }
var x84 = new Date(1999, 12, 1, 0, 0, 0); var x84 = new Date(1999, 12, 1, 0, 0, 0);
if(x84 === undefined){ if (x84 === undefined) {
$ERROR("#8.4: new Date(1999, 12, 1, 0, 0, 0) should not be undefined"); $ERROR("#8.4: new Date(1999, 12, 1, 0, 0, 0) should not be undefined");
} }
@ -163,12 +163,12 @@ if (new Date(2000, 0, 1, 0, 0, 0) === undefined) {
} }
var x93 = new Date(2000, 0, 1, 0, 0, 0); var x93 = new Date(2000, 0, 1, 0, 0, 0);
if(typeof x93 !== "object"){ if (typeof x93 !== "object") {
$ERROR("#9.3: typeof new Date(2000, 0, 1, 0, 0, 0) should be 'object'"); $ERROR("#9.3: typeof new Date(2000, 0, 1, 0, 0, 0) should be 'object'");
} }
var x94 = new Date(2000, 0, 1, 0, 0, 0); var x94 = new Date(2000, 0, 1, 0, 0, 0);
if(x94 === undefined){ if (x94 === undefined) {
$ERROR("#9.4: new Date(2000, 0, 1, 0, 0, 0) should not be undefined"); $ERROR("#9.4: new Date(2000, 0, 1, 0, 0, 0) should not be undefined");
} }
@ -181,12 +181,12 @@ if (new Date(2099, 11, 31, 23, 59, 59) === undefined) {
} }
var x103 = new Date(2099, 11, 31, 23, 59, 59); var x103 = new Date(2099, 11, 31, 23, 59, 59);
if(typeof x103 !== "object"){ if (typeof x103 !== "object") {
$ERROR("#10.3: typeof new Date(2099, 11, 31, 23, 59, 59) should be 'object'"); $ERROR("#10.3: typeof new Date(2099, 11, 31, 23, 59, 59) should be 'object'");
} }
var x104 = new Date(2099, 11, 31, 23, 59, 59); var x104 = new Date(2099, 11, 31, 23, 59, 59);
if(x104 === undefined){ if (x104 === undefined) {
$ERROR("#10.4: new Date(2099, 11, 31, 23, 59, 59) should not be undefined"); $ERROR("#10.4: new Date(2099, 11, 31, 23, 59, 59) should not be undefined");
} }
@ -199,12 +199,12 @@ if (new Date(2099, 12, 1, 0, 0, 0) === undefined) {
} }
var x113 = new Date(2099, 12, 1, 0, 0, 0); var x113 = new Date(2099, 12, 1, 0, 0, 0);
if(typeof x113 !== "object"){ if (typeof x113 !== "object") {
$ERROR("#11.3: typeof new Date(2099, 12, 1, 0, 0, 0) should be 'object'"); $ERROR("#11.3: typeof new Date(2099, 12, 1, 0, 0, 0) should be 'object'");
} }
var x114 = new Date(2099, 12, 1, 0, 0, 0); var x114 = new Date(2099, 12, 1, 0, 0, 0);
if(x114 === undefined){ if (x114 === undefined) {
$ERROR("#11.4: new Date(2099, 12, 1, 0, 0, 0) should not be undefined"); $ERROR("#11.4: new Date(2099, 12, 1, 0, 0, 0) should not be undefined");
} }
@ -217,11 +217,11 @@ if (new Date(2100, 0, 1, 0, 0, 0) === undefined) {
} }
var x123 = new Date(2100, 0, 1, 0, 0, 0); var x123 = new Date(2100, 0, 1, 0, 0, 0);
if(typeof x123 !== "object"){ if (typeof x123 !== "object") {
$ERROR("#12.3: typeof new Date(2100, 0, 1, 0, 0, 0) should be 'object'"); $ERROR("#12.3: typeof new Date(2100, 0, 1, 0, 0, 0) should be 'object'");
} }
var x124 = new Date(2100, 0, 1, 0, 0, 0); var x124 = new Date(2100, 0, 1, 0, 0, 0);
if(x124 === undefined){ if (x124 === undefined) {
$ERROR("#12.4: new Date(2100, 0, 1, 0, 0, 0) should not be undefined"); $ERROR("#12.4: new Date(2100, 0, 1, 0, 0, 0) should not be undefined");
} }

View File

@ -19,12 +19,12 @@ if (new Date(1899, 11, 31, 23, 59, 59, 999) === undefined) {
} }
var x13 = new Date(1899, 11, 31, 23, 59, 59, 999); var x13 = new Date(1899, 11, 31, 23, 59, 59, 999);
if(typeof x13 !== "object"){ if (typeof x13 !== "object") {
$ERROR("#1.3: typeof new Date(1899, 11, 31, 23, 59, 59, 999) should be 'object'"); $ERROR("#1.3: typeof new Date(1899, 11, 31, 23, 59, 59, 999) should be 'object'");
} }
var x14 = new Date(1899, 11, 31, 23, 59, 59, 999); var x14 = new Date(1899, 11, 31, 23, 59, 59, 999);
if(x14 === undefined){ if (x14 === undefined) {
$ERROR("#1.4: new Date(1899, 11, 31, 23, 59, 59, 999) should not be undefined"); $ERROR("#1.4: new Date(1899, 11, 31, 23, 59, 59, 999) should not be undefined");
} }
@ -37,12 +37,12 @@ if (new Date(1899, 12, 1, 0, 0, 0, 0) === undefined) {
} }
var x23 = new Date(1899, 12, 1, 0, 0, 0, 0); var x23 = new Date(1899, 12, 1, 0, 0, 0, 0);
if(typeof x23 !== "object"){ if (typeof x23 !== "object") {
$ERROR("#2.3: typeof new Date(1899, 12, 1, 0, 0, 0, 0) should be 'object'"); $ERROR("#2.3: typeof new Date(1899, 12, 1, 0, 0, 0, 0) should be 'object'");
} }
var x24 = new Date(1899, 12, 1, 0, 0, 0, 0); var x24 = new Date(1899, 12, 1, 0, 0, 0, 0);
if(x24 === undefined){ if (x24 === undefined) {
$ERROR("#2.4: new Date(1899, 12, 1, 0, 0, 0, 0) should not be undefined"); $ERROR("#2.4: new Date(1899, 12, 1, 0, 0, 0, 0) should not be undefined");
} }
@ -55,12 +55,12 @@ if (new Date(1900, 0, 1, 0, 0, 0, 0) === undefined) {
} }
var x33 = new Date(1900, 0, 1, 0, 0, 0, 0); var x33 = new Date(1900, 0, 1, 0, 0, 0, 0);
if(typeof x33 !== "object"){ if (typeof x33 !== "object") {
$ERROR("#3.3: typeof new Date(1900, 0, 1, 0, 0, 0, 0) should be 'object'"); $ERROR("#3.3: typeof new Date(1900, 0, 1, 0, 0, 0, 0) should be 'object'");
} }
var x34 = new Date(1900, 0, 1, 0, 0, 0, 0); var x34 = new Date(1900, 0, 1, 0, 0, 0, 0);
if(x34 === undefined){ if (x34 === undefined) {
$ERROR("#3.4: new Date(1900, 0, 1, 0, 0, 0, 0) should not be undefined"); $ERROR("#3.4: new Date(1900, 0, 1, 0, 0, 0, 0) should not be undefined");
} }
@ -73,12 +73,12 @@ if (new Date(1969, 11, 31, 23, 59, 59, 999) === undefined) {
} }
var x43 = new Date(1969, 11, 31, 23, 59, 59, 999); var x43 = new Date(1969, 11, 31, 23, 59, 59, 999);
if(typeof x43 !== "object"){ if (typeof x43 !== "object") {
$ERROR("#4.3: typeof new Date(1969, 11, 31, 23, 59, 59, 999) should be 'object'"); $ERROR("#4.3: typeof new Date(1969, 11, 31, 23, 59, 59, 999) should be 'object'");
} }
var x44 = new Date(1969, 11, 31, 23, 59, 59, 999); var x44 = new Date(1969, 11, 31, 23, 59, 59, 999);
if(x44 === undefined){ if (x44 === undefined) {
$ERROR("#4.4: new Date(1969, 11, 31, 23, 59, 59, 999) should not be undefined"); $ERROR("#4.4: new Date(1969, 11, 31, 23, 59, 59, 999) should not be undefined");
} }
@ -91,12 +91,12 @@ if (new Date(1969, 12, 1, 0, 0, 0, 0) === undefined) {
} }
var x53 = new Date(1969, 12, 1, 0, 0, 0, 0); var x53 = new Date(1969, 12, 1, 0, 0, 0, 0);
if(typeof x53 !== "object"){ if (typeof x53 !== "object") {
$ERROR("#5.3: typeof new Date(1969, 12, 1, 0, 0, 0, 0) should be 'object'"); $ERROR("#5.3: typeof new Date(1969, 12, 1, 0, 0, 0, 0) should be 'object'");
} }
var x54 = new Date(1969, 12, 1, 0, 0, 0, 0); var x54 = new Date(1969, 12, 1, 0, 0, 0, 0);
if(x54 === undefined){ if (x54 === undefined) {
$ERROR("#5.4: new Date(1969, 12, 1, 0, 0, 0, 0) should not be undefined"); $ERROR("#5.4: new Date(1969, 12, 1, 0, 0, 0, 0) should not be undefined");
} }
@ -109,12 +109,12 @@ if (new Date(1970, 0, 1, 0, 0, 0, 0) === undefined) {
} }
var x63 = new Date(1970, 0, 1, 0, 0, 0, 0); var x63 = new Date(1970, 0, 1, 0, 0, 0, 0);
if(typeof x63 !== "object"){ if (typeof x63 !== "object") {
$ERROR("#6.3: typeof new Date(1970, 0, 1, 0, 0, 0, 0) should be 'object'"); $ERROR("#6.3: typeof new Date(1970, 0, 1, 0, 0, 0, 0) should be 'object'");
} }
var x64 = new Date(1970, 0, 1, 0, 0, 0, 0); var x64 = new Date(1970, 0, 1, 0, 0, 0, 0);
if(x64 === undefined){ if (x64 === undefined) {
$ERROR("#6.4: new Date(1970, 0, 1, 0, 0, 0, 0) should not be undefined"); $ERROR("#6.4: new Date(1970, 0, 1, 0, 0, 0, 0) should not be undefined");
} }
@ -127,12 +127,12 @@ if (new Date(1999, 11, 31, 23, 59, 59, 999) === undefined) {
} }
var x73 = new Date(1999, 11, 31, 23, 59, 59, 999); var x73 = new Date(1999, 11, 31, 23, 59, 59, 999);
if(typeof x73 !== "object"){ if (typeof x73 !== "object") {
$ERROR("#7.3: typeof new Date(1999, 11, 31, 23, 59, 59, 999) should be 'object'"); $ERROR("#7.3: typeof new Date(1999, 11, 31, 23, 59, 59, 999) should be 'object'");
} }
var x74 = new Date(1999, 11, 31, 23, 59, 59, 999); var x74 = new Date(1999, 11, 31, 23, 59, 59, 999);
if(x74 === undefined){ if (x74 === undefined) {
$ERROR("#7.4: new Date(1999, 11, 31, 23, 59, 59, 999) should not be undefined"); $ERROR("#7.4: new Date(1999, 11, 31, 23, 59, 59, 999) should not be undefined");
} }
@ -145,12 +145,12 @@ if (new Date(1999, 12, 1, 0, 0, 0, 0) === undefined) {
} }
var x83 = new Date(1999, 12, 1, 0, 0, 0, 0); var x83 = new Date(1999, 12, 1, 0, 0, 0, 0);
if(typeof x83 !== "object"){ if (typeof x83 !== "object") {
$ERROR("#8.3: typeof new Date(1999, 12, 1, 0, 0, 0, 0) should be 'object'"); $ERROR("#8.3: typeof new Date(1999, 12, 1, 0, 0, 0, 0) should be 'object'");
} }
var x84 = new Date(1999, 12, 1, 0, 0, 0, 0); var x84 = new Date(1999, 12, 1, 0, 0, 0, 0);
if(x84 === undefined){ if (x84 === undefined) {
$ERROR("#8.4: new Date(1999, 12, 1, 0, 0, 0, 0) should not be undefined"); $ERROR("#8.4: new Date(1999, 12, 1, 0, 0, 0, 0) should not be undefined");
} }
@ -163,12 +163,12 @@ if (new Date(2000, 0, 1, 0, 0, 0, 0) === undefined) {
} }
var x93 = new Date(2000, 0, 1, 0, 0, 0, 0); var x93 = new Date(2000, 0, 1, 0, 0, 0, 0);
if(typeof x93 !== "object"){ if (typeof x93 !== "object") {
$ERROR("#9.3: typeof new Date(2000, 0, 1, 0, 0, 0, 0) should be 'object'"); $ERROR("#9.3: typeof new Date(2000, 0, 1, 0, 0, 0, 0) should be 'object'");
} }
var x94 = new Date(2000, 0, 1, 0, 0, 0, 0); var x94 = new Date(2000, 0, 1, 0, 0, 0, 0);
if(x94 === undefined){ if (x94 === undefined) {
$ERROR("#9.4: new Date(2000, 0, 1, 0, 0, 0, 0) should not be undefined"); $ERROR("#9.4: new Date(2000, 0, 1, 0, 0, 0, 0) should not be undefined");
} }
@ -181,12 +181,12 @@ if (new Date(2099, 11, 31, 23, 59, 59, 999) === undefined) {
} }
var x103 = new Date(2099, 11, 31, 23, 59, 59, 999); var x103 = new Date(2099, 11, 31, 23, 59, 59, 999);
if(typeof x103 !== "object"){ if (typeof x103 !== "object") {
$ERROR("#10.3: typeof new Date(2099, 11, 31, 23, 59, 59, 999) should be 'object'"); $ERROR("#10.3: typeof new Date(2099, 11, 31, 23, 59, 59, 999) should be 'object'");
} }
var x104 = new Date(2099, 11, 31, 23, 59, 59, 999); var x104 = new Date(2099, 11, 31, 23, 59, 59, 999);
if(x104 === undefined){ if (x104 === undefined) {
$ERROR("#10.4: new Date(2099, 11, 31, 23, 59, 59, 999) should not be undefined"); $ERROR("#10.4: new Date(2099, 11, 31, 23, 59, 59, 999) should not be undefined");
} }
@ -199,12 +199,12 @@ if (new Date(2099, 12, 1, 0, 0, 0, 0) === undefined) {
} }
var x113 = new Date(2099, 12, 1, 0, 0, 0, 0); var x113 = new Date(2099, 12, 1, 0, 0, 0, 0);
if(typeof x113 !== "object"){ if (typeof x113 !== "object") {
$ERROR("#11.3: typeof new Date(2099, 12, 1, 0, 0, 0, 0) should be 'object'"); $ERROR("#11.3: typeof new Date(2099, 12, 1, 0, 0, 0, 0) should be 'object'");
} }
var x114 = new Date(2099, 12, 1, 0, 0, 0, 0); var x114 = new Date(2099, 12, 1, 0, 0, 0, 0);
if(x114 === undefined){ if (x114 === undefined) {
$ERROR("#11.4: new Date(2099, 12, 1, 0, 0, 0, 0) should not be undefined"); $ERROR("#11.4: new Date(2099, 12, 1, 0, 0, 0, 0) should not be undefined");
} }
@ -217,11 +217,11 @@ if (new Date(2100, 0, 1, 0, 0, 0, 0) === undefined) {
} }
var x123 = new Date(2100, 0, 1, 0, 0, 0, 0); var x123 = new Date(2100, 0, 1, 0, 0, 0, 0);
if(typeof x123 !== "object"){ if (typeof x123 !== "object") {
$ERROR("#12.3: typeof new Date(2100, 0, 1, 0, 0, 0, 0) should be 'object'"); $ERROR("#12.3: typeof new Date(2100, 0, 1, 0, 0, 0, 0) should be 'object'");
} }
var x124 = new Date(2100, 0, 1, 0, 0, 0, 0); var x124 = new Date(2100, 0, 1, 0, 0, 0, 0);
if(x124 === undefined){ if (x124 === undefined) {
$ERROR("#12.4: new Date(2100, 0, 1, 0, 0, 0, 0) should not be undefined"); $ERROR("#12.4: new Date(2100, 0, 1, 0, 0, 0, 0) should not be undefined");
} }

View File

@ -22,7 +22,7 @@ if (!Date.prototype.isPrototypeOf(x12)) {
} }
var x13 = new Date(1899, 11); var x13 = new Date(1899, 11);
if(Date.prototype !== x13.constructor.prototype){ if (Date.prototype !== x13.constructor.prototype) {
$ERROR("#1.3: Date.prototype === x13.constructor.prototype"); $ERROR("#1.3: Date.prototype === x13.constructor.prototype");
} }
@ -37,7 +37,7 @@ if (!Date.prototype.isPrototypeOf(x22)) {
} }
var x23 = new Date(1899, 12); var x23 = new Date(1899, 12);
if(Date.prototype !== x23.constructor.prototype){ if (Date.prototype !== x23.constructor.prototype) {
$ERROR("#2.3: Date.prototype === x23.constructor.prototype"); $ERROR("#2.3: Date.prototype === x23.constructor.prototype");
} }
@ -52,7 +52,7 @@ if (!Date.prototype.isPrototypeOf(x32)) {
} }
var x33 = new Date(1900, 0); var x33 = new Date(1900, 0);
if(Date.prototype !== x33.constructor.prototype){ if (Date.prototype !== x33.constructor.prototype) {
$ERROR("#3.3: Date.prototype === x33.constructor.prototype"); $ERROR("#3.3: Date.prototype === x33.constructor.prototype");
} }
@ -67,7 +67,7 @@ if (!Date.prototype.isPrototypeOf(x42)) {
} }
var x43 = new Date(1969, 11); var x43 = new Date(1969, 11);
if(Date.prototype !== x43.constructor.prototype){ if (Date.prototype !== x43.constructor.prototype) {
$ERROR("#4.3: Date.prototype === x43.constructor.prototype"); $ERROR("#4.3: Date.prototype === x43.constructor.prototype");
} }
@ -82,7 +82,7 @@ if (!Date.prototype.isPrototypeOf(x52)) {
} }
var x53 = new Date(1969, 12); var x53 = new Date(1969, 12);
if(Date.prototype !== x53.constructor.prototype){ if (Date.prototype !== x53.constructor.prototype) {
$ERROR("#5.3: Date.prototype === x53.constructor.prototype"); $ERROR("#5.3: Date.prototype === x53.constructor.prototype");
} }
@ -97,7 +97,7 @@ if (!Date.prototype.isPrototypeOf(x62)) {
} }
var x63 = new Date(1970, 0); var x63 = new Date(1970, 0);
if(Date.prototype !== x63.constructor.prototype){ if (Date.prototype !== x63.constructor.prototype) {
$ERROR("#6.3: Date.prototype === x63.constructor.prototype"); $ERROR("#6.3: Date.prototype === x63.constructor.prototype");
} }
@ -112,7 +112,7 @@ if (!Date.prototype.isPrototypeOf(x72)) {
} }
var x73 = new Date(1999, 11); var x73 = new Date(1999, 11);
if(Date.prototype !== x73.constructor.prototype){ if (Date.prototype !== x73.constructor.prototype) {
$ERROR("#7.3: Date.prototype === x73.constructor.prototype"); $ERROR("#7.3: Date.prototype === x73.constructor.prototype");
} }
@ -127,7 +127,7 @@ if (!Date.prototype.isPrototypeOf(x82)) {
} }
var x83 = new Date(1999, 12); var x83 = new Date(1999, 12);
if(Date.prototype !== x83.constructor.prototype){ if (Date.prototype !== x83.constructor.prototype) {
$ERROR("#8.3: Date.prototype === x83.constructor.prototype"); $ERROR("#8.3: Date.prototype === x83.constructor.prototype");
} }
@ -142,7 +142,7 @@ if (!Date.prototype.isPrototypeOf(x92)) {
} }
var x93 = new Date(2000, 0); var x93 = new Date(2000, 0);
if(Date.prototype !== x93.constructor.prototype){ if (Date.prototype !== x93.constructor.prototype) {
$ERROR("#9.3: Date.prototype === x93.constructor.prototype"); $ERROR("#9.3: Date.prototype === x93.constructor.prototype");
} }
@ -157,7 +157,7 @@ if (!Date.prototype.isPrototypeOf(x102)) {
} }
var x103 = new Date(2099, 11); var x103 = new Date(2099, 11);
if(Date.prototype !== x103.constructor.prototype){ if (Date.prototype !== x103.constructor.prototype) {
$ERROR("#10.3: Date.prototype === x103.constructor.prototype"); $ERROR("#10.3: Date.prototype === x103.constructor.prototype");
} }
@ -172,7 +172,7 @@ if (!Date.prototype.isPrototypeOf(x112)) {
} }
var x113 = new Date(2099, 12); var x113 = new Date(2099, 12);
if(Date.prototype !== x113.constructor.prototype){ if (Date.prototype !== x113.constructor.prototype) {
$ERROR("#11.3: Date.prototype === x113.constructor.prototype"); $ERROR("#11.3: Date.prototype === x113.constructor.prototype");
} }
@ -187,6 +187,6 @@ if (!Date.prototype.isPrototypeOf(x122)) {
} }
var x123 = new Date(2100, 0); var x123 = new Date(2100, 0);
if(Date.prototype !== x123.constructor.prototype){ if (Date.prototype !== x123.constructor.prototype) {
$ERROR("#12.3: Date.prototype === x123.constructor.prototype"); $ERROR("#12.3: Date.prototype === x123.constructor.prototype");
} }

View File

@ -22,7 +22,7 @@ if (!Date.prototype.isPrototypeOf(x12)) {
} }
var x13 = new Date(1899, 11, 31); var x13 = new Date(1899, 11, 31);
if(Date.prototype !== x13.constructor.prototype){ if (Date.prototype !== x13.constructor.prototype) {
$ERROR("#1.3: Date.prototype === x13.constructor.prototype"); $ERROR("#1.3: Date.prototype === x13.constructor.prototype");
} }
@ -37,7 +37,7 @@ if (!Date.prototype.isPrototypeOf(x22)) {
} }
var x23 = new Date(1899, 12, 1); var x23 = new Date(1899, 12, 1);
if(Date.prototype !== x23.constructor.prototype){ if (Date.prototype !== x23.constructor.prototype) {
$ERROR("#2.3: Date.prototype === x23.constructor.prototype"); $ERROR("#2.3: Date.prototype === x23.constructor.prototype");
} }
@ -52,7 +52,7 @@ if (!Date.prototype.isPrototypeOf(x32)) {
} }
var x33 = new Date(1900, 0, 1); var x33 = new Date(1900, 0, 1);
if(Date.prototype !== x33.constructor.prototype){ if (Date.prototype !== x33.constructor.prototype) {
$ERROR("#3.3: Date.prototype === x33.constructor.prototype"); $ERROR("#3.3: Date.prototype === x33.constructor.prototype");
} }
@ -67,7 +67,7 @@ if (!Date.prototype.isPrototypeOf(x42)) {
} }
var x43 = new Date(1969, 11, 31); var x43 = new Date(1969, 11, 31);
if(Date.prototype !== x43.constructor.prototype){ if (Date.prototype !== x43.constructor.prototype) {
$ERROR("#4.3: Date.prototype === x43.constructor.prototype"); $ERROR("#4.3: Date.prototype === x43.constructor.prototype");
} }
@ -82,7 +82,7 @@ if (!Date.prototype.isPrototypeOf(x52)) {
} }
var x53 = new Date(1969, 12, 1); var x53 = new Date(1969, 12, 1);
if(Date.prototype !== x53.constructor.prototype){ if (Date.prototype !== x53.constructor.prototype) {
$ERROR("#5.3: Date.prototype === x53.constructor.prototype"); $ERROR("#5.3: Date.prototype === x53.constructor.prototype");
} }
@ -97,7 +97,7 @@ if (!Date.prototype.isPrototypeOf(x62)) {
} }
var x63 = new Date(1970, 0, 1); var x63 = new Date(1970, 0, 1);
if(Date.prototype !== x63.constructor.prototype){ if (Date.prototype !== x63.constructor.prototype) {
$ERROR("#6.3: Date.prototype === x63.constructor.prototype"); $ERROR("#6.3: Date.prototype === x63.constructor.prototype");
} }
@ -112,7 +112,7 @@ if (!Date.prototype.isPrototypeOf(x72)) {
} }
var x73 = new Date(1999, 11, 31); var x73 = new Date(1999, 11, 31);
if(Date.prototype !== x73.constructor.prototype){ if (Date.prototype !== x73.constructor.prototype) {
$ERROR("#7.3: Date.prototype === x73.constructor.prototype"); $ERROR("#7.3: Date.prototype === x73.constructor.prototype");
} }
@ -127,7 +127,7 @@ if (!Date.prototype.isPrototypeOf(x82)) {
} }
var x83 = new Date(1999, 12, 1); var x83 = new Date(1999, 12, 1);
if(Date.prototype !== x83.constructor.prototype){ if (Date.prototype !== x83.constructor.prototype) {
$ERROR("#8.3: Date.prototype === x83.constructor.prototype"); $ERROR("#8.3: Date.prototype === x83.constructor.prototype");
} }
@ -142,7 +142,7 @@ if (!Date.prototype.isPrototypeOf(x92)) {
} }
var x93 = new Date(2000, 0, 1); var x93 = new Date(2000, 0, 1);
if(Date.prototype !== x93.constructor.prototype){ if (Date.prototype !== x93.constructor.prototype) {
$ERROR("#9.3: Date.prototype === x93.constructor.prototype"); $ERROR("#9.3: Date.prototype === x93.constructor.prototype");
} }
@ -157,7 +157,7 @@ if (!Date.prototype.isPrototypeOf(x102)) {
} }
var x103 = new Date(2099, 11, 31); var x103 = new Date(2099, 11, 31);
if(Date.prototype !== x103.constructor.prototype){ if (Date.prototype !== x103.constructor.prototype) {
$ERROR("#10.3: Date.prototype === x103.constructor.prototype"); $ERROR("#10.3: Date.prototype === x103.constructor.prototype");
} }
@ -172,7 +172,7 @@ if (!Date.prototype.isPrototypeOf(x112)) {
} }
var x113 = new Date(2099, 12, 1); var x113 = new Date(2099, 12, 1);
if(Date.prototype !== x113.constructor.prototype){ if (Date.prototype !== x113.constructor.prototype) {
$ERROR("#11.3: Date.prototype === x113.constructor.prototype"); $ERROR("#11.3: Date.prototype === x113.constructor.prototype");
} }
@ -187,6 +187,6 @@ if (!Date.prototype.isPrototypeOf(x122)) {
} }
var x123 = new Date(2100, 0, 1); var x123 = new Date(2100, 0, 1);
if(Date.prototype !== x123.constructor.prototype){ if (Date.prototype !== x123.constructor.prototype) {
$ERROR("#12.3: Date.prototype === x123.constructor.prototype"); $ERROR("#12.3: Date.prototype === x123.constructor.prototype");
} }

View File

@ -22,7 +22,7 @@ if (!Date.prototype.isPrototypeOf(x12)) {
} }
var x13 = new Date(1899, 11, 31, 23); var x13 = new Date(1899, 11, 31, 23);
if(Date.prototype !== x13.constructor.prototype){ if (Date.prototype !== x13.constructor.prototype) {
$ERROR("#1.3: Date.prototype === x13.constructor.prototype"); $ERROR("#1.3: Date.prototype === x13.constructor.prototype");
} }
@ -37,7 +37,7 @@ if (!Date.prototype.isPrototypeOf(x22)) {
} }
var x23 = new Date(1899, 12, 1, 0); var x23 = new Date(1899, 12, 1, 0);
if(Date.prototype !== x23.constructor.prototype){ if (Date.prototype !== x23.constructor.prototype) {
$ERROR("#2.3: Date.prototype === x23.constructor.prototype"); $ERROR("#2.3: Date.prototype === x23.constructor.prototype");
} }
@ -52,7 +52,7 @@ if (!Date.prototype.isPrototypeOf(x32)) {
} }
var x33 = new Date(1900, 0, 1, 0); var x33 = new Date(1900, 0, 1, 0);
if(Date.prototype !== x33.constructor.prototype){ if (Date.prototype !== x33.constructor.prototype) {
$ERROR("#3.3: Date.prototype === x33.constructor.prototype"); $ERROR("#3.3: Date.prototype === x33.constructor.prototype");
} }
@ -67,7 +67,7 @@ if (!Date.prototype.isPrototypeOf(x42)) {
} }
var x43 = new Date(1969, 11, 31, 23); var x43 = new Date(1969, 11, 31, 23);
if(Date.prototype !== x43.constructor.prototype){ if (Date.prototype !== x43.constructor.prototype) {
$ERROR("#4.3: Date.prototype === x43.constructor.prototype"); $ERROR("#4.3: Date.prototype === x43.constructor.prototype");
} }
@ -82,7 +82,7 @@ if (!Date.prototype.isPrototypeOf(x52)) {
} }
var x53 = new Date(1969, 12, 1, 0); var x53 = new Date(1969, 12, 1, 0);
if(Date.prototype !== x53.constructor.prototype){ if (Date.prototype !== x53.constructor.prototype) {
$ERROR("#5.3: Date.prototype === x53.constructor.prototype"); $ERROR("#5.3: Date.prototype === x53.constructor.prototype");
} }
@ -97,7 +97,7 @@ if (!Date.prototype.isPrototypeOf(x62)) {
} }
var x63 = new Date(1970, 0, 1, 0); var x63 = new Date(1970, 0, 1, 0);
if(Date.prototype !== x63.constructor.prototype){ if (Date.prototype !== x63.constructor.prototype) {
$ERROR("#6.3: Date.prototype === x63.constructor.prototype"); $ERROR("#6.3: Date.prototype === x63.constructor.prototype");
} }
@ -112,7 +112,7 @@ if (!Date.prototype.isPrototypeOf(x72)) {
} }
var x73 = new Date(1999, 11, 31, 23); var x73 = new Date(1999, 11, 31, 23);
if(Date.prototype !== x73.constructor.prototype){ if (Date.prototype !== x73.constructor.prototype) {
$ERROR("#7.3: Date.prototype === x73.constructor.prototype"); $ERROR("#7.3: Date.prototype === x73.constructor.prototype");
} }
@ -127,7 +127,7 @@ if (!Date.prototype.isPrototypeOf(x82)) {
} }
var x83 = new Date(1999, 12, 1, 0); var x83 = new Date(1999, 12, 1, 0);
if(Date.prototype !== x83.constructor.prototype){ if (Date.prototype !== x83.constructor.prototype) {
$ERROR("#8.3: Date.prototype === x83.constructor.prototype"); $ERROR("#8.3: Date.prototype === x83.constructor.prototype");
} }
@ -142,7 +142,7 @@ if (!Date.prototype.isPrototypeOf(x92)) {
} }
var x93 = new Date(2000, 0, 1, 0); var x93 = new Date(2000, 0, 1, 0);
if(Date.prototype !== x93.constructor.prototype){ if (Date.prototype !== x93.constructor.prototype) {
$ERROR("#9.3: Date.prototype === x93.constructor.prototype"); $ERROR("#9.3: Date.prototype === x93.constructor.prototype");
} }
@ -157,7 +157,7 @@ if (!Date.prototype.isPrototypeOf(x102)) {
} }
var x103 = new Date(2099, 11, 31, 23); var x103 = new Date(2099, 11, 31, 23);
if(Date.prototype !== x103.constructor.prototype){ if (Date.prototype !== x103.constructor.prototype) {
$ERROR("#10.3: Date.prototype === x103.constructor.prototype"); $ERROR("#10.3: Date.prototype === x103.constructor.prototype");
} }
@ -172,7 +172,7 @@ if (!Date.prototype.isPrototypeOf(x112)) {
} }
var x113 = new Date(2099, 12, 1, 0); var x113 = new Date(2099, 12, 1, 0);
if(Date.prototype !== x113.constructor.prototype){ if (Date.prototype !== x113.constructor.prototype) {
$ERROR("#11.3: Date.prototype === x113.constructor.prototype"); $ERROR("#11.3: Date.prototype === x113.constructor.prototype");
} }
@ -187,6 +187,6 @@ if (!Date.prototype.isPrototypeOf(x122)) {
} }
var x123 = new Date(2100, 0, 1, 0); var x123 = new Date(2100, 0, 1, 0);
if(Date.prototype !== x123.constructor.prototype){ if (Date.prototype !== x123.constructor.prototype) {
$ERROR("#12.3: Date.prototype === x123.constructor.prototype"); $ERROR("#12.3: Date.prototype === x123.constructor.prototype");
} }

View File

@ -22,7 +22,7 @@ if (!Date.prototype.isPrototypeOf(x12)) {
} }
var x13 = new Date(1899, 11, 31, 23, 59); var x13 = new Date(1899, 11, 31, 23, 59);
if(Date.prototype !== x13.constructor.prototype){ if (Date.prototype !== x13.constructor.prototype) {
$ERROR("#1.3: Date.prototype === x13.constructor.prototype"); $ERROR("#1.3: Date.prototype === x13.constructor.prototype");
} }
@ -37,7 +37,7 @@ if (!Date.prototype.isPrototypeOf(x22)) {
} }
var x23 = new Date(1899, 12, 1, 0, 0); var x23 = new Date(1899, 12, 1, 0, 0);
if(Date.prototype !== x23.constructor.prototype){ if (Date.prototype !== x23.constructor.prototype) {
$ERROR("#2.3: Date.prototype === x23.constructor.prototype"); $ERROR("#2.3: Date.prototype === x23.constructor.prototype");
} }
@ -52,7 +52,7 @@ if (!Date.prototype.isPrototypeOf(x32)) {
} }
var x33 = new Date(1900, 0, 1, 0, 0); var x33 = new Date(1900, 0, 1, 0, 0);
if(Date.prototype !== x33.constructor.prototype){ if (Date.prototype !== x33.constructor.prototype) {
$ERROR("#3.3: Date.prototype === x33.constructor.prototype"); $ERROR("#3.3: Date.prototype === x33.constructor.prototype");
} }
@ -67,7 +67,7 @@ if (!Date.prototype.isPrototypeOf(x42)) {
} }
var x43 = new Date(1969, 11, 31, 23, 59); var x43 = new Date(1969, 11, 31, 23, 59);
if(Date.prototype !== x43.constructor.prototype){ if (Date.prototype !== x43.constructor.prototype) {
$ERROR("#4.3: Date.prototype === x43.constructor.prototype"); $ERROR("#4.3: Date.prototype === x43.constructor.prototype");
} }
@ -82,7 +82,7 @@ if (!Date.prototype.isPrototypeOf(x52)) {
} }
var x53 = new Date(1969, 12, 1, 0, 0); var x53 = new Date(1969, 12, 1, 0, 0);
if(Date.prototype !== x53.constructor.prototype){ if (Date.prototype !== x53.constructor.prototype) {
$ERROR("#5.3: Date.prototype === x53.constructor.prototype"); $ERROR("#5.3: Date.prototype === x53.constructor.prototype");
} }
@ -97,7 +97,7 @@ if (!Date.prototype.isPrototypeOf(x62)) {
} }
var x63 = new Date(1970, 0, 1, 0, 0); var x63 = new Date(1970, 0, 1, 0, 0);
if(Date.prototype !== x63.constructor.prototype){ if (Date.prototype !== x63.constructor.prototype) {
$ERROR("#6.3: Date.prototype === x63.constructor.prototype"); $ERROR("#6.3: Date.prototype === x63.constructor.prototype");
} }
@ -112,7 +112,7 @@ if (!Date.prototype.isPrototypeOf(x72)) {
} }
var x73 = new Date(1999, 11, 31, 23, 59); var x73 = new Date(1999, 11, 31, 23, 59);
if(Date.prototype !== x73.constructor.prototype){ if (Date.prototype !== x73.constructor.prototype) {
$ERROR("#7.3: Date.prototype === x73.constructor.prototype"); $ERROR("#7.3: Date.prototype === x73.constructor.prototype");
} }
@ -127,7 +127,7 @@ if (!Date.prototype.isPrototypeOf(x82)) {
} }
var x83 = new Date(1999, 12, 1, 0, 0); var x83 = new Date(1999, 12, 1, 0, 0);
if(Date.prototype !== x83.constructor.prototype){ if (Date.prototype !== x83.constructor.prototype) {
$ERROR("#8.3: Date.prototype === x83.constructor.prototype"); $ERROR("#8.3: Date.prototype === x83.constructor.prototype");
} }
@ -142,7 +142,7 @@ if (!Date.prototype.isPrototypeOf(x92)) {
} }
var x93 = new Date(2000, 0, 1, 0, 0); var x93 = new Date(2000, 0, 1, 0, 0);
if(Date.prototype !== x93.constructor.prototype){ if (Date.prototype !== x93.constructor.prototype) {
$ERROR("#9.3: Date.prototype === x93.constructor.prototype"); $ERROR("#9.3: Date.prototype === x93.constructor.prototype");
} }
@ -157,7 +157,7 @@ if (!Date.prototype.isPrototypeOf(x102)) {
} }
var x103 = new Date(2099, 11, 31, 23, 59); var x103 = new Date(2099, 11, 31, 23, 59);
if(Date.prototype !== x103.constructor.prototype){ if (Date.prototype !== x103.constructor.prototype) {
$ERROR("#10.3: Date.prototype === x103.constructor.prototype"); $ERROR("#10.3: Date.prototype === x103.constructor.prototype");
} }
@ -172,7 +172,7 @@ if (!Date.prototype.isPrototypeOf(x112)) {
} }
var x113 = new Date(2099, 12, 1, 0, 0); var x113 = new Date(2099, 12, 1, 0, 0);
if(Date.prototype !== x113.constructor.prototype){ if (Date.prototype !== x113.constructor.prototype) {
$ERROR("#11.3: Date.prototype === x113.constructor.prototype"); $ERROR("#11.3: Date.prototype === x113.constructor.prototype");
} }
@ -187,6 +187,6 @@ if (!Date.prototype.isPrototypeOf(x122)) {
} }
var x123 = new Date(2100, 0, 1, 0, 0); var x123 = new Date(2100, 0, 1, 0, 0);
if(Date.prototype !== x123.constructor.prototype){ if (Date.prototype !== x123.constructor.prototype) {
$ERROR("#12.3: Date.prototype === x123.constructor.prototype"); $ERROR("#12.3: Date.prototype === x123.constructor.prototype");
} }

View File

@ -22,7 +22,7 @@ if (!Date.prototype.isPrototypeOf(x12)) {
} }
var x13 = new Date(1899, 11, 31, 23, 59, 59); var x13 = new Date(1899, 11, 31, 23, 59, 59);
if(Date.prototype !== x13.constructor.prototype){ if (Date.prototype !== x13.constructor.prototype) {
$ERROR("#1.3: Date.prototype === x13.constructor.prototype"); $ERROR("#1.3: Date.prototype === x13.constructor.prototype");
} }
@ -37,7 +37,7 @@ if (!Date.prototype.isPrototypeOf(x22)) {
} }
var x23 = new Date(1899, 12, 1, 0, 0, 0); var x23 = new Date(1899, 12, 1, 0, 0, 0);
if(Date.prototype !== x23.constructor.prototype){ if (Date.prototype !== x23.constructor.prototype) {
$ERROR("#2.3: Date.prototype === x23.constructor.prototype"); $ERROR("#2.3: Date.prototype === x23.constructor.prototype");
} }
@ -52,7 +52,7 @@ if (!Date.prototype.isPrototypeOf(x32)) {
} }
var x33 = new Date(1900, 0, 1, 0, 0, 0); var x33 = new Date(1900, 0, 1, 0, 0, 0);
if(Date.prototype !== x33.constructor.prototype){ if (Date.prototype !== x33.constructor.prototype) {
$ERROR("#3.3: Date.prototype === x33.constructor.prototype"); $ERROR("#3.3: Date.prototype === x33.constructor.prototype");
} }
@ -67,7 +67,7 @@ if (!Date.prototype.isPrototypeOf(x42)) {
} }
var x43 = new Date(1969, 11, 31, 23, 59, 59); var x43 = new Date(1969, 11, 31, 23, 59, 59);
if(Date.prototype !== x43.constructor.prototype){ if (Date.prototype !== x43.constructor.prototype) {
$ERROR("#4.3: Date.prototype === x43.constructor.prototype"); $ERROR("#4.3: Date.prototype === x43.constructor.prototype");
} }
@ -82,7 +82,7 @@ if (!Date.prototype.isPrototypeOf(x52)) {
} }
var x53 = new Date(1969, 12, 1, 0, 0, 0); var x53 = new Date(1969, 12, 1, 0, 0, 0);
if(Date.prototype !== x53.constructor.prototype){ if (Date.prototype !== x53.constructor.prototype) {
$ERROR("#5.3: Date.prototype === x53.constructor.prototype"); $ERROR("#5.3: Date.prototype === x53.constructor.prototype");
} }
@ -97,7 +97,7 @@ if (!Date.prototype.isPrototypeOf(x62)) {
} }
var x63 = new Date(1970, 0, 1, 0, 0, 0); var x63 = new Date(1970, 0, 1, 0, 0, 0);
if(Date.prototype !== x63.constructor.prototype){ if (Date.prototype !== x63.constructor.prototype) {
$ERROR("#6.3: Date.prototype === x63.constructor.prototype"); $ERROR("#6.3: Date.prototype === x63.constructor.prototype");
} }
@ -112,7 +112,7 @@ if (!Date.prototype.isPrototypeOf(x72)) {
} }
var x73 = new Date(1999, 11, 31, 23, 59, 59); var x73 = new Date(1999, 11, 31, 23, 59, 59);
if(Date.prototype !== x73.constructor.prototype){ if (Date.prototype !== x73.constructor.prototype) {
$ERROR("#7.3: Date.prototype === x73.constructor.prototype"); $ERROR("#7.3: Date.prototype === x73.constructor.prototype");
} }
@ -127,7 +127,7 @@ if (!Date.prototype.isPrototypeOf(x82)) {
} }
var x83 = new Date(1999, 12, 1, 0, 0, 0); var x83 = new Date(1999, 12, 1, 0, 0, 0);
if(Date.prototype !== x83.constructor.prototype){ if (Date.prototype !== x83.constructor.prototype) {
$ERROR("#8.3: Date.prototype === x83.constructor.prototype"); $ERROR("#8.3: Date.prototype === x83.constructor.prototype");
} }
@ -142,7 +142,7 @@ if (!Date.prototype.isPrototypeOf(x92)) {
} }
var x93 = new Date(2000, 0, 1, 0, 0, 0); var x93 = new Date(2000, 0, 1, 0, 0, 0);
if(Date.prototype !== x93.constructor.prototype){ if (Date.prototype !== x93.constructor.prototype) {
$ERROR("#9.3: Date.prototype === x93.constructor.prototype"); $ERROR("#9.3: Date.prototype === x93.constructor.prototype");
} }
@ -157,7 +157,7 @@ if (!Date.prototype.isPrototypeOf(x102)) {
} }
var x103 = new Date(2099, 11, 31, 23, 59, 59); var x103 = new Date(2099, 11, 31, 23, 59, 59);
if(Date.prototype !== x103.constructor.prototype){ if (Date.prototype !== x103.constructor.prototype) {
$ERROR("#10.3: Date.prototype === x103.constructor.prototype"); $ERROR("#10.3: Date.prototype === x103.constructor.prototype");
} }
@ -172,7 +172,7 @@ if (!Date.prototype.isPrototypeOf(x112)) {
} }
var x113 = new Date(2099, 12, 1, 0, 0, 0); var x113 = new Date(2099, 12, 1, 0, 0, 0);
if(Date.prototype !== x113.constructor.prototype){ if (Date.prototype !== x113.constructor.prototype) {
$ERROR("#11.3: Date.prototype === x113.constructor.prototype"); $ERROR("#11.3: Date.prototype === x113.constructor.prototype");
} }
@ -187,6 +187,6 @@ if (!Date.prototype.isPrototypeOf(x122)) {
} }
var x123 = new Date(2100, 0, 1, 0, 0, 0); var x123 = new Date(2100, 0, 1, 0, 0, 0);
if(Date.prototype !== x123.constructor.prototype){ if (Date.prototype !== x123.constructor.prototype) {
$ERROR("#12.3: Date.prototype === x123.constructor.prototype"); $ERROR("#12.3: Date.prototype === x123.constructor.prototype");
} }

View File

@ -22,7 +22,7 @@ if (!Date.prototype.isPrototypeOf(x12)) {
} }
var x13 = new Date(1899, 11, 31, 23, 59, 59, 999); var x13 = new Date(1899, 11, 31, 23, 59, 59, 999);
if(Date.prototype !== x13.constructor.prototype){ if (Date.prototype !== x13.constructor.prototype) {
$ERROR("#1.3: Date.prototype === x13.constructor.prototype"); $ERROR("#1.3: Date.prototype === x13.constructor.prototype");
} }
@ -37,7 +37,7 @@ if (!Date.prototype.isPrototypeOf(x22)) {
} }
var x23 = new Date(1899, 12, 1, 0, 0, 0, 0); var x23 = new Date(1899, 12, 1, 0, 0, 0, 0);
if(Date.prototype !== x23.constructor.prototype){ if (Date.prototype !== x23.constructor.prototype) {
$ERROR("#2.3: Date.prototype === x23.constructor.prototype"); $ERROR("#2.3: Date.prototype === x23.constructor.prototype");
} }
@ -52,7 +52,7 @@ if (!Date.prototype.isPrototypeOf(x32)) {
} }
var x33 = new Date(1900, 0, 1, 0, 0, 0, 0); var x33 = new Date(1900, 0, 1, 0, 0, 0, 0);
if(Date.prototype !== x33.constructor.prototype){ if (Date.prototype !== x33.constructor.prototype) {
$ERROR("#3.3: Date.prototype === x33.constructor.prototype"); $ERROR("#3.3: Date.prototype === x33.constructor.prototype");
} }
@ -67,7 +67,7 @@ if (!Date.prototype.isPrototypeOf(x42)) {
} }
var x43 = new Date(1969, 11, 31, 23, 59, 59, 999); var x43 = new Date(1969, 11, 31, 23, 59, 59, 999);
if(Date.prototype !== x43.constructor.prototype){ if (Date.prototype !== x43.constructor.prototype) {
$ERROR("#4.3: Date.prototype === x43.constructor.prototype"); $ERROR("#4.3: Date.prototype === x43.constructor.prototype");
} }
@ -82,7 +82,7 @@ if (!Date.prototype.isPrototypeOf(x52)) {
} }
var x53 = new Date(1969, 12, 1, 0, 0, 0, 0); var x53 = new Date(1969, 12, 1, 0, 0, 0, 0);
if(Date.prototype !== x53.constructor.prototype){ if (Date.prototype !== x53.constructor.prototype) {
$ERROR("#5.3: Date.prototype === x53.constructor.prototype"); $ERROR("#5.3: Date.prototype === x53.constructor.prototype");
} }
@ -97,7 +97,7 @@ if (!Date.prototype.isPrototypeOf(x62)) {
} }
var x63 = new Date(1970, 0, 1, 0, 0, 0, 0); var x63 = new Date(1970, 0, 1, 0, 0, 0, 0);
if(Date.prototype !== x63.constructor.prototype){ if (Date.prototype !== x63.constructor.prototype) {
$ERROR("#6.3: Date.prototype === x63.constructor.prototype"); $ERROR("#6.3: Date.prototype === x63.constructor.prototype");
} }
@ -112,7 +112,7 @@ if (!Date.prototype.isPrototypeOf(x72)) {
} }
var x73 = new Date(1999, 11, 31, 23, 59, 59, 999); var x73 = new Date(1999, 11, 31, 23, 59, 59, 999);
if(Date.prototype !== x73.constructor.prototype){ if (Date.prototype !== x73.constructor.prototype) {
$ERROR("#7.3: Date.prototype === x73.constructor.prototype"); $ERROR("#7.3: Date.prototype === x73.constructor.prototype");
} }
@ -127,7 +127,7 @@ if (!Date.prototype.isPrototypeOf(x82)) {
} }
var x83 = new Date(1999, 12, 1, 0, 0, 0, 0); var x83 = new Date(1999, 12, 1, 0, 0, 0, 0);
if(Date.prototype !== x83.constructor.prototype){ if (Date.prototype !== x83.constructor.prototype) {
$ERROR("#8.3: Date.prototype === x83.constructor.prototype"); $ERROR("#8.3: Date.prototype === x83.constructor.prototype");
} }
@ -142,7 +142,7 @@ if (!Date.prototype.isPrototypeOf(x92)) {
} }
var x93 = new Date(2000, 0, 1, 0, 0, 0, 0); var x93 = new Date(2000, 0, 1, 0, 0, 0, 0);
if(Date.prototype !== x93.constructor.prototype){ if (Date.prototype !== x93.constructor.prototype) {
$ERROR("#9.3: Date.prototype === x93.constructor.prototype"); $ERROR("#9.3: Date.prototype === x93.constructor.prototype");
} }
@ -157,7 +157,7 @@ if (!Date.prototype.isPrototypeOf(x102)) {
} }
var x103 = new Date(2099, 11, 31, 23, 59, 59, 999); var x103 = new Date(2099, 11, 31, 23, 59, 59, 999);
if(Date.prototype !== x103.constructor.prototype){ if (Date.prototype !== x103.constructor.prototype) {
$ERROR("#10.3: Date.prototype === x103.constructor.prototype"); $ERROR("#10.3: Date.prototype === x103.constructor.prototype");
} }
@ -172,7 +172,7 @@ if (!Date.prototype.isPrototypeOf(x112)) {
} }
var x113 = new Date(2099, 12, 1, 0, 0, 0, 0); var x113 = new Date(2099, 12, 1, 0, 0, 0, 0);
if(Date.prototype !== x113.constructor.prototype){ if (Date.prototype !== x113.constructor.prototype) {
$ERROR("#11.3: Date.prototype === x113.constructor.prototype"); $ERROR("#11.3: Date.prototype === x113.constructor.prototype");
} }
@ -187,6 +187,6 @@ if (!Date.prototype.isPrototypeOf(x122)) {
} }
var x123 = new Date(2100, 0, 1, 0, 0, 0, 0); var x123 = new Date(2100, 0, 1, 0, 0, 0, 0);
if(Date.prototype !== x123.constructor.prototype){ if (Date.prototype !== x123.constructor.prototype) {
$ERROR("#12.3: Date.prototype === x123.constructor.prototype"); $ERROR("#12.3: Date.prototype === x123.constructor.prototype");
} }

View File

@ -17,30 +17,34 @@ es5id: 15.9.3.1_A4_T1
description: 2 arguments, (year, month) description: 2 arguments, (year, month)
---*/ ---*/
var myObj = function(val){ var myObj = function(val) {
this.value = val; this.value = val;
this.valueOf = function(){throw "valueOf-"+this.value;}; this.valueOf = function() {
this.toString = function(){throw "toString-"+this.value;}; throw "valueOf-" + this.value;
};
this.toString = function() {
throw "toString-" + this.value;
};
}; };
//CHECK#1 //CHECK#1
try{ try {
var x1 = new Date(new myObj(1), new myObj(2)); var x1 = new Date(new myObj(1), new myObj(2));
$ERROR("#1: The 1st step is calling ToNumber(year)"); $ERROR("#1: The 1st step is calling ToNumber(year)");
} }
catch(e){ catch (e) {
if(e !== "valueOf-1"){ if (e !== "valueOf-1") {
$ERROR("#1: The 1st step is calling ToNumber(year)"); $ERROR("#1: The 1st step is calling ToNumber(year)");
} }
} }
//CHECK#2 //CHECK#2
try{ try {
var x2 = new Date(1, new myObj(2)); var x2 = new Date(1, new myObj(2));
$ERROR("#2: The 2nd step is calling ToNumber(month)"); $ERROR("#2: The 2nd step is calling ToNumber(month)");
} }
catch(e){ catch (e) {
if(e !== "valueOf-2"){ if (e !== "valueOf-2") {
$ERROR("#2: The 2nd step is calling ToNumber(month)"); $ERROR("#2: The 2nd step is calling ToNumber(month)");
} }
} }

View File

@ -17,41 +17,45 @@ es5id: 15.9.3.1_A4_T2
description: 3 arguments, (year, month, date) description: 3 arguments, (year, month, date)
---*/ ---*/
var myObj = function(val){ var myObj = function(val) {
this.value = val; this.value = val;
this.valueOf = function(){throw "valueOf-"+this.value;}; this.valueOf = function() {
this.toString = function(){throw "toString-"+this.value;}; throw "valueOf-" + this.value;
};
this.toString = function() {
throw "toString-" + this.value;
};
}; };
//CHECK#1 //CHECK#1
try{ try {
var x1 = new Date(new myObj(1), new myObj(2), new myObj(3)); var x1 = new Date(new myObj(1), new myObj(2), new myObj(3));
$ERROR("#1: The 1st step is calling ToNumber(year)"); $ERROR("#1: The 1st step is calling ToNumber(year)");
} }
catch(e){ catch (e) {
if(e !== "valueOf-1"){ if (e !== "valueOf-1") {
$ERROR("#1: The 1st step is calling ToNumber(year)"); $ERROR("#1: The 1st step is calling ToNumber(year)");
} }
} }
//CHECK#2 //CHECK#2
try{ try {
var x2 = new Date(1, new myObj(2), new myObj(3)); var x2 = new Date(1, new myObj(2), new myObj(3));
$ERROR("#2: The 2nd step is calling ToNumber(month)"); $ERROR("#2: The 2nd step is calling ToNumber(month)");
} }
catch(e){ catch (e) {
if(e !== "valueOf-2"){ if (e !== "valueOf-2") {
$ERROR("#2: The 2nd step is calling ToNumber(month)"); $ERROR("#2: The 2nd step is calling ToNumber(month)");
} }
} }
//CHECK#3 //CHECK#3
try{ try {
var x3 = new Date(1, 2, new myObj(3)); var x3 = new Date(1, 2, new myObj(3));
$ERROR("#3: The 3rd step is calling ToNumber(date)"); $ERROR("#3: The 3rd step is calling ToNumber(date)");
} }
catch(e){ catch (e) {
if(e !== "valueOf-3"){ if (e !== "valueOf-3") {
$ERROR("#3: The 3rd step is calling ToNumber(date)"); $ERROR("#3: The 3rd step is calling ToNumber(date)");
} }
} }

View File

@ -17,52 +17,56 @@ es5id: 15.9.3.1_A4_T3
description: 4 arguments, (year, month, date, hours) description: 4 arguments, (year, month, date, hours)
---*/ ---*/
var myObj = function(val){ var myObj = function(val) {
this.value = val; this.value = val;
this.valueOf = function(){throw "valueOf-"+this.value;}; this.valueOf = function() {
this.toString = function(){throw "toString-"+this.value;}; throw "valueOf-" + this.value;
};
this.toString = function() {
throw "toString-" + this.value;
};
}; };
//CHECK#1 //CHECK#1
try{ try {
var x1 = new Date(new myObj(1), new myObj(2), new myObj(3), new myObj(4)); var x1 = new Date(new myObj(1), new myObj(2), new myObj(3), new myObj(4));
$ERROR("#1: The 1st step is calling ToNumber(year)"); $ERROR("#1: The 1st step is calling ToNumber(year)");
} }
catch(e){ catch (e) {
if(e !== "valueOf-1"){ if (e !== "valueOf-1") {
$ERROR("#1: The 1st step is calling ToNumber(year)"); $ERROR("#1: The 1st step is calling ToNumber(year)");
} }
} }
//CHECK#2 //CHECK#2
try{ try {
var x2 = new Date(1, new myObj(2), new myObj(3), new myObj(4)); var x2 = new Date(1, new myObj(2), new myObj(3), new myObj(4));
$ERROR("#2: The 2nd step is calling ToNumber(month)"); $ERROR("#2: The 2nd step is calling ToNumber(month)");
} }
catch(e){ catch (e) {
if(e !== "valueOf-2"){ if (e !== "valueOf-2") {
$ERROR("#2: The 2nd step is calling ToNumber(month)"); $ERROR("#2: The 2nd step is calling ToNumber(month)");
} }
} }
//CHECK#3 //CHECK#3
try{ try {
var x3 = new Date(1, 2, new myObj(3), new myObj(4)); var x3 = new Date(1, 2, new myObj(3), new myObj(4));
$ERROR("#3: The 3rd step is calling ToNumber(date)"); $ERROR("#3: The 3rd step is calling ToNumber(date)");
} }
catch(e){ catch (e) {
if(e !== "valueOf-3"){ if (e !== "valueOf-3") {
$ERROR("#3: The 3rd step is calling ToNumber(date)"); $ERROR("#3: The 3rd step is calling ToNumber(date)");
} }
} }
//CHECK#4 //CHECK#4
try{ try {
var x4 = new Date(1, 2, 3, new myObj(4)); var x4 = new Date(1, 2, 3, new myObj(4));
$ERROR("#4: The 4th step is calling ToNumber(hours)"); $ERROR("#4: The 4th step is calling ToNumber(hours)");
} }
catch(e){ catch (e) {
if(e !== "valueOf-4"){ if (e !== "valueOf-4") {
$ERROR("#4: The 4th step is calling ToNumber(hours)"); $ERROR("#4: The 4th step is calling ToNumber(hours)");
} }
} }

View File

@ -17,63 +17,67 @@ es5id: 15.9.3.1_A4_T4
description: 5 arguments, (year, month, date, hours, minutes) description: 5 arguments, (year, month, date, hours, minutes)
---*/ ---*/
var myObj = function(val){ var myObj = function(val) {
this.value = val; this.value = val;
this.valueOf = function(){throw "valueOf-"+this.value;}; this.valueOf = function() {
this.toString = function(){throw "toString-"+this.value;}; throw "valueOf-" + this.value;
};
this.toString = function() {
throw "toString-" + this.value;
};
}; };
//CHECK#1 //CHECK#1
try{ try {
var x1 = new Date(new myObj(1), new myObj(2), new myObj(3), new myObj(4), new myObj(5)); var x1 = new Date(new myObj(1), new myObj(2), new myObj(3), new myObj(4), new myObj(5));
$ERROR("#1: The 1st step is calling ToNumber(year)"); $ERROR("#1: The 1st step is calling ToNumber(year)");
} }
catch(e){ catch (e) {
if(e !== "valueOf-1"){ if (e !== "valueOf-1") {
$ERROR("#1: The 1st step is calling ToNumber(year)"); $ERROR("#1: The 1st step is calling ToNumber(year)");
} }
} }
//CHECK#2 //CHECK#2
try{ try {
var x2 = new Date(1, new myObj(2), new myObj(3), new myObj(4), new myObj(5)); var x2 = new Date(1, new myObj(2), new myObj(3), new myObj(4), new myObj(5));
$ERROR("#2: The 2nd step is calling ToNumber(month)"); $ERROR("#2: The 2nd step is calling ToNumber(month)");
} }
catch(e){ catch (e) {
if(e !== "valueOf-2"){ if (e !== "valueOf-2") {
$ERROR("#2: The 2nd step is calling ToNumber(month)"); $ERROR("#2: The 2nd step is calling ToNumber(month)");
} }
} }
//CHECK#3 //CHECK#3
try{ try {
var x3 = new Date(1, 2, new myObj(3), new myObj(4), new myObj(5)); var x3 = new Date(1, 2, new myObj(3), new myObj(4), new myObj(5));
$ERROR("#3: The 3rd step is calling ToNumber(date)"); $ERROR("#3: The 3rd step is calling ToNumber(date)");
} }
catch(e){ catch (e) {
if(e !== "valueOf-3"){ if (e !== "valueOf-3") {
$ERROR("#3: The 3rd step is calling ToNumber(date)"); $ERROR("#3: The 3rd step is calling ToNumber(date)");
} }
} }
//CHECK#4 //CHECK#4
try{ try {
var x4 = new Date(1, 2, 3, new myObj(4), new myObj(5)); var x4 = new Date(1, 2, 3, new myObj(4), new myObj(5));
$ERROR("#4: The 4th step is calling ToNumber(hours)"); $ERROR("#4: The 4th step is calling ToNumber(hours)");
} }
catch(e){ catch (e) {
if(e !== "valueOf-4"){ if (e !== "valueOf-4") {
$ERROR("#4: The 4th step is calling ToNumber(hours)"); $ERROR("#4: The 4th step is calling ToNumber(hours)");
} }
} }
//CHECK#5 //CHECK#5
try{ try {
var x5 = new Date(1, 2, 3, 4, new myObj(5)); var x5 = new Date(1, 2, 3, 4, new myObj(5));
$ERROR("#5: The 5th step is calling ToNumber(minutes)"); $ERROR("#5: The 5th step is calling ToNumber(minutes)");
} }
catch(e){ catch (e) {
if(e !== "valueOf-5"){ if (e !== "valueOf-5") {
$ERROR("#5: The 5th step is calling ToNumber(minutes)"); $ERROR("#5: The 5th step is calling ToNumber(minutes)");
} }
} }

View File

@ -17,74 +17,78 @@ es5id: 15.9.3.1_A4_T5
description: 6 arguments, (year, month, date, hours, minutes, seconds) description: 6 arguments, (year, month, date, hours, minutes, seconds)
---*/ ---*/
var myObj = function(val){ var myObj = function(val) {
this.value = val; this.value = val;
this.valueOf = function(){throw "valueOf-"+this.value;}; this.valueOf = function() {
this.toString = function(){throw "toString-"+this.value;}; throw "valueOf-" + this.value;
};
this.toString = function() {
throw "toString-" + this.value;
};
}; };
//CHECK#1 //CHECK#1
try{ try {
var x1 = new Date(new myObj(1), new myObj(2), new myObj(3), new myObj(4), new myObj(5), new myObj(6)); var x1 = new Date(new myObj(1), new myObj(2), new myObj(3), new myObj(4), new myObj(5), new myObj(6));
$ERROR("#1: The 1st step is calling ToNumber(year)"); $ERROR("#1: The 1st step is calling ToNumber(year)");
} }
catch(e){ catch (e) {
if(e !== "valueOf-1"){ if (e !== "valueOf-1") {
$ERROR("#1: The 1st step is calling ToNumber(year)"); $ERROR("#1: The 1st step is calling ToNumber(year)");
} }
} }
//CHECK#2 //CHECK#2
try{ try {
var x2 = new Date(1, new myObj(2), new myObj(3), new myObj(4), new myObj(5), new myObj(6)); var x2 = new Date(1, new myObj(2), new myObj(3), new myObj(4), new myObj(5), new myObj(6));
$ERROR("#2: The 2nd step is calling ToNumber(month)"); $ERROR("#2: The 2nd step is calling ToNumber(month)");
} }
catch(e){ catch (e) {
if(e !== "valueOf-2"){ if (e !== "valueOf-2") {
$ERROR("#2: The 2nd step is calling ToNumber(month)"); $ERROR("#2: The 2nd step is calling ToNumber(month)");
} }
} }
//CHECK#3 //CHECK#3
try{ try {
var x3 = new Date(1, 2, new myObj(3), new myObj(4), new myObj(5), new myObj(6)); var x3 = new Date(1, 2, new myObj(3), new myObj(4), new myObj(5), new myObj(6));
$ERROR("#3: The 3rd step is calling ToNumber(date)"); $ERROR("#3: The 3rd step is calling ToNumber(date)");
} }
catch(e){ catch (e) {
if(e !== "valueOf-3"){ if (e !== "valueOf-3") {
$ERROR("#3: The 3rd step is calling ToNumber(date)"); $ERROR("#3: The 3rd step is calling ToNumber(date)");
} }
} }
//CHECK#4 //CHECK#4
try{ try {
var x4 = new Date(1, 2, 3, new myObj(4), new myObj(5), new myObj(6)); var x4 = new Date(1, 2, 3, new myObj(4), new myObj(5), new myObj(6));
$ERROR("#4: The 4th step is calling ToNumber(hours)"); $ERROR("#4: The 4th step is calling ToNumber(hours)");
} }
catch(e){ catch (e) {
if(e !== "valueOf-4"){ if (e !== "valueOf-4") {
$ERROR("#4: The 4th step is calling ToNumber(hours)"); $ERROR("#4: The 4th step is calling ToNumber(hours)");
} }
} }
//CHECK#5 //CHECK#5
try{ try {
var x5 = new Date(1, 2, 3, 4, new myObj(5), new myObj(6)); var x5 = new Date(1, 2, 3, 4, new myObj(5), new myObj(6));
$ERROR("#5: The 5th step is calling ToNumber(minutes)"); $ERROR("#5: The 5th step is calling ToNumber(minutes)");
} }
catch(e){ catch (e) {
if(e !== "valueOf-5"){ if (e !== "valueOf-5") {
$ERROR("#5: The 5th step is calling ToNumber(minutes)"); $ERROR("#5: The 5th step is calling ToNumber(minutes)");
} }
} }
//CHECK#6 //CHECK#6
try{ try {
var x6 = new Date(1, 2, 3, 4, 5, new myObj(6)); var x6 = new Date(1, 2, 3, 4, 5, new myObj(6));
$ERROR("#6: The 6th step is calling ToNumber(seconds)"); $ERROR("#6: The 6th step is calling ToNumber(seconds)");
} }
catch(e){ catch (e) {
if(e !== "valueOf-6"){ if (e !== "valueOf-6") {
$ERROR("#6: The 6th step is calling ToNumber(seconds)"); $ERROR("#6: The 6th step is calling ToNumber(seconds)");
} }
} }

View File

@ -17,85 +17,89 @@ es5id: 15.9.3.1_A4_T6
description: 7 arguments, (year, month, date, hours, minutes, seconds, ms) description: 7 arguments, (year, month, date, hours, minutes, seconds, ms)
---*/ ---*/
var myObj = function(val){ var myObj = function(val) {
this.value = val; this.value = val;
this.valueOf = function(){throw "valueOf-"+this.value;}; this.valueOf = function() {
this.toString = function(){throw "toString-"+this.value;}; throw "valueOf-" + this.value;
};
this.toString = function() {
throw "toString-" + this.value;
};
}; };
//CHECK#1 //CHECK#1
try{ try {
var x1 = new Date(new myObj(1), new myObj(2), new myObj(3), new myObj(4), new myObj(5), new myObj(6), new myObj(7)); var x1 = new Date(new myObj(1), new myObj(2), new myObj(3), new myObj(4), new myObj(5), new myObj(6), new myObj(7));
$ERROR("#1: The 1st step is calling ToNumber(year)"); $ERROR("#1: The 1st step is calling ToNumber(year)");
} }
catch(e){ catch (e) {
if(e !== "valueOf-1"){ if (e !== "valueOf-1") {
$ERROR("#1: The 1st step is calling ToNumber(year)"); $ERROR("#1: The 1st step is calling ToNumber(year)");
} }
} }
//CHECK#2 //CHECK#2
try{ try {
var x2 = new Date(1, new myObj(2), new myObj(3), new myObj(4), new myObj(5), new myObj(6), new myObj(7)); var x2 = new Date(1, new myObj(2), new myObj(3), new myObj(4), new myObj(5), new myObj(6), new myObj(7));
$ERROR("#2: The 2nd step is calling ToNumber(month)"); $ERROR("#2: The 2nd step is calling ToNumber(month)");
} }
catch(e){ catch (e) {
if(e !== "valueOf-2"){ if (e !== "valueOf-2") {
$ERROR("#2: The 2nd step is calling ToNumber(month)"); $ERROR("#2: The 2nd step is calling ToNumber(month)");
} }
} }
//CHECK#3 //CHECK#3
try{ try {
var x3 = new Date(1, 2, new myObj(3), new myObj(4), new myObj(5), new myObj(6), new myObj(7)); var x3 = new Date(1, 2, new myObj(3), new myObj(4), new myObj(5), new myObj(6), new myObj(7));
$ERROR("#3: The 3rd step is calling ToNumber(date)"); $ERROR("#3: The 3rd step is calling ToNumber(date)");
} }
catch(e){ catch (e) {
if(e !== "valueOf-3"){ if (e !== "valueOf-3") {
$ERROR("#3: The 3rd step is calling ToNumber(date)"); $ERROR("#3: The 3rd step is calling ToNumber(date)");
} }
} }
//CHECK#4 //CHECK#4
try{ try {
var x4 = new Date(1, 2, 3, new myObj(4), new myObj(5), new myObj(6), new myObj(7)); var x4 = new Date(1, 2, 3, new myObj(4), new myObj(5), new myObj(6), new myObj(7));
$ERROR("#4: The 4th step is calling ToNumber(hours)"); $ERROR("#4: The 4th step is calling ToNumber(hours)");
} }
catch(e){ catch (e) {
if(e !== "valueOf-4"){ if (e !== "valueOf-4") {
$ERROR("#4: The 4th step is calling ToNumber(hours)"); $ERROR("#4: The 4th step is calling ToNumber(hours)");
} }
} }
//CHECK#5 //CHECK#5
try{ try {
var x5 = new Date(1, 2, 3, 4, new myObj(5), new myObj(6), new myObj(7)); var x5 = new Date(1, 2, 3, 4, new myObj(5), new myObj(6), new myObj(7));
$ERROR("#5: The 5th step is calling ToNumber(minutes)"); $ERROR("#5: The 5th step is calling ToNumber(minutes)");
} }
catch(e){ catch (e) {
if(e !== "valueOf-5"){ if (e !== "valueOf-5") {
$ERROR("#5: The 5th step is calling ToNumber(minutes)"); $ERROR("#5: The 5th step is calling ToNumber(minutes)");
} }
} }
//CHECK#6 //CHECK#6
try{ try {
var x6 = new Date(1, 2, 3, 4, 5, new myObj(6), new myObj(7)); var x6 = new Date(1, 2, 3, 4, 5, new myObj(6), new myObj(7));
$ERROR("#6: The 6th step is calling ToNumber(seconds)"); $ERROR("#6: The 6th step is calling ToNumber(seconds)");
} }
catch(e){ catch (e) {
if(e !== "valueOf-6"){ if (e !== "valueOf-6") {
$ERROR("#6: The 6th step is calling ToNumber(seconds)"); $ERROR("#6: The 6th step is calling ToNumber(seconds)");
} }
} }
//CHECK#7 //CHECK#7
try{ try {
var x7 = new Date(1, 2, 3, 4, 5, 6, new myObj(7)); var x7 = new Date(1, 2, 3, 4, 5, 6, new myObj(7));
$ERROR("#7: The 7th step is calling ToNumber(ms)"); $ERROR("#7: The 7th step is calling ToNumber(ms)");
} }
catch(e){ catch (e) {
if(e !== "valueOf-7"){ if (e !== "valueOf-7") {
$ERROR("#7: The 7th step is calling ToNumber(ms)"); $ERROR("#7: The 7th step is calling ToNumber(ms)");
} }
} }

View File

@ -33,7 +33,7 @@ assertRelativeDateMs(new Date(1999, 11), 944006400000);
assertRelativeDateMs(new Date(1999, 12), 946684800000); assertRelativeDateMs(new Date(1999, 12), 946684800000);
assertRelativeDateMs(new Date(2000, 0), 946684800000); assertRelativeDateMs(new Date(2000, 0), 946684800000);
assertRelativeDateMs(new Date(2099, 11), 4099766400000); assertRelativeDateMs(new Date(2099, 11), 4099766400000);

View File

@ -10,7 +10,7 @@ es5id: 15.9.3.1_A6_T1
description: 2 arguments, (year, month) description: 2 arguments, (year, month)
---*/ ---*/
function DateValue(year, month, date, hours, minutes, seconds, ms){ function DateValue(year, month, date, hours, minutes, seconds, ms) {
return new Date(year, month, date, hours, minutes, seconds, ms).valueOf(); return new Date(year, month, date, hours, minutes, seconds, ms).valueOf();
} }

View File

@ -10,7 +10,7 @@ es5id: 15.9.3.1_A6_T2
description: 3 arguments, (year, month, date) description: 3 arguments, (year, month, date)
---*/ ---*/
function DateValue(year, month, date, hours, minutes, seconds, ms){ function DateValue(year, month, date, hours, minutes, seconds, ms) {
return new Date(year, month, date, hours, minutes, seconds, ms).valueOf(); return new Date(year, month, date, hours, minutes, seconds, ms).valueOf();
} }

View File

@ -10,7 +10,7 @@ es5id: 15.9.3.1_A6_T3
description: 4 arguments, (year, month, date, hours) description: 4 arguments, (year, month, date, hours)
---*/ ---*/
function DateValue(year, month, date, hours, minutes, seconds, ms){ function DateValue(year, month, date, hours, minutes, seconds, ms) {
return new Date(year, month, date, hours, minutes, seconds, ms).valueOf(); return new Date(year, month, date, hours, minutes, seconds, ms).valueOf();
} }

View File

@ -10,7 +10,7 @@ es5id: 15.9.3.1_A6_T4
description: 5 arguments, (year, month, date, hours, minutes) description: 5 arguments, (year, month, date, hours, minutes)
---*/ ---*/
function DateValue(year, month, date, hours, minutes, seconds, ms){ function DateValue(year, month, date, hours, minutes, seconds, ms) {
return new Date(year, month, date, hours, minutes, seconds, ms).valueOf(); return new Date(year, month, date, hours, minutes, seconds, ms).valueOf();
} }

View File

@ -10,7 +10,7 @@ es5id: 15.9.3.1_A6_T5
description: 6 arguments, (year, month, date, hours, minutes, seconds) description: 6 arguments, (year, month, date, hours, minutes, seconds)
---*/ ---*/
function DateValue(year, month, date, hours, minutes, seconds, ms){ function DateValue(year, month, date, hours, minutes, seconds, ms) {
return new Date(year, month, date, hours, minutes, seconds, ms).valueOf(); return new Date(year, month, date, hours, minutes, seconds, ms).valueOf();
} }

View File

@ -20,12 +20,12 @@ if (new Date(date_1899_end) === undefined) {
} }
var x13 = new Date(date_1899_end); var x13 = new Date(date_1899_end);
if(typeof x13 !== "object"){ if (typeof x13 !== "object") {
$ERROR("#1.3: typeof new Date(date_1899_end) !== 'object'"); $ERROR("#1.3: typeof new Date(date_1899_end) !== 'object'");
} }
var x14 = new Date(date_1899_end); var x14 = new Date(date_1899_end);
if(x14 === undefined){ if (x14 === undefined) {
$ERROR("#1.4: new Date(date_1899_end) !== undefined"); $ERROR("#1.4: new Date(date_1899_end) !== undefined");
} }
@ -38,12 +38,12 @@ if (new Date(date_1900_start) === undefined) {
} }
var x23 = new Date(date_1900_start); var x23 = new Date(date_1900_start);
if(typeof x23 !== "object"){ if (typeof x23 !== "object") {
$ERROR("#2.3: typeof new Date(date_1900_start) !== 'object'"); $ERROR("#2.3: typeof new Date(date_1900_start) !== 'object'");
} }
var x24 = new Date(date_1900_start); var x24 = new Date(date_1900_start);
if(x24 === undefined){ if (x24 === undefined) {
$ERROR("#2.4: new Date(date_1900_start) !== undefined"); $ERROR("#2.4: new Date(date_1900_start) !== undefined");
} }
@ -56,12 +56,12 @@ if (new Date(date_1969_end) === undefined) {
} }
var x33 = new Date(date_1969_end); var x33 = new Date(date_1969_end);
if(typeof x33 !== "object"){ if (typeof x33 !== "object") {
$ERROR("#3.3: typeof new Date(date_1969_end) !== 'object'"); $ERROR("#3.3: typeof new Date(date_1969_end) !== 'object'");
} }
var x34 = new Date(date_1969_end); var x34 = new Date(date_1969_end);
if(x34 === undefined){ if (x34 === undefined) {
$ERROR("#3.4: new Date(date_1969_end) !== undefined"); $ERROR("#3.4: new Date(date_1969_end) !== undefined");
} }
@ -74,12 +74,12 @@ if (new Date(date_1970_start) === undefined) {
} }
var x43 = new Date(date_1970_start); var x43 = new Date(date_1970_start);
if(typeof x43 !== "object"){ if (typeof x43 !== "object") {
$ERROR("#4.3: typeof new Date(date_1970_start) !== 'object'"); $ERROR("#4.3: typeof new Date(date_1970_start) !== 'object'");
} }
var x44 = new Date(date_1970_start); var x44 = new Date(date_1970_start);
if(x44 === undefined){ if (x44 === undefined) {
$ERROR("#4.4: new Date(date_1970_start) !== undefined"); $ERROR("#4.4: new Date(date_1970_start) !== undefined");
} }
@ -92,12 +92,12 @@ if (new Date(date_1999_end) === undefined) {
} }
var x53 = new Date(date_1999_end); var x53 = new Date(date_1999_end);
if(typeof x53 !== "object"){ if (typeof x53 !== "object") {
$ERROR("#5.3: typeof new Date(date_1999_end) !== 'object'"); $ERROR("#5.3: typeof new Date(date_1999_end) !== 'object'");
} }
var x54 = new Date(date_1999_end); var x54 = new Date(date_1999_end);
if(x54 === undefined){ if (x54 === undefined) {
$ERROR("#5.4: new Date(date_1999_end) !== undefined"); $ERROR("#5.4: new Date(date_1999_end) !== undefined");
} }
@ -110,12 +110,12 @@ if (new Date(date_2000_start) === undefined) {
} }
var x63 = new Date(date_2000_start); var x63 = new Date(date_2000_start);
if(typeof x63 !== "object"){ if (typeof x63 !== "object") {
$ERROR("#6.3: typeof new Date(date_2000_start) !== 'object'"); $ERROR("#6.3: typeof new Date(date_2000_start) !== 'object'");
} }
var x64 = new Date(date_2000_start); var x64 = new Date(date_2000_start);
if(x64 === undefined){ if (x64 === undefined) {
$ERROR("#6.4: new Date(date_2000_start) !== undefined"); $ERROR("#6.4: new Date(date_2000_start) !== undefined");
} }
@ -128,12 +128,12 @@ if (new Date(date_2099_end) === undefined) {
} }
var x73 = new Date(date_2099_end); var x73 = new Date(date_2099_end);
if(typeof x73 !== "object"){ if (typeof x73 !== "object") {
$ERROR("#7.3: typeof new Date(date_2099_end) !== 'object'"); $ERROR("#7.3: typeof new Date(date_2099_end) !== 'object'");
} }
var x74 = new Date(date_2099_end); var x74 = new Date(date_2099_end);
if(x74 === undefined){ if (x74 === undefined) {
$ERROR("#7.4: new Date(date_2099_end) !== undefined"); $ERROR("#7.4: new Date(date_2099_end) !== undefined");
} }
@ -146,11 +146,11 @@ if (new Date(date_2100_start) === undefined) {
} }
var x83 = new Date(date_2100_start); var x83 = new Date(date_2100_start);
if(typeof x83 !== "object"){ if (typeof x83 !== "object") {
$ERROR("#8.3: typeof new Date(date_2100_start) !== 'object'"); $ERROR("#8.3: typeof new Date(date_2100_start) !== 'object'");
} }
var x84 = new Date(date_2100_start); var x84 = new Date(date_2100_start);
if(x84 === undefined){ if (x84 === undefined) {
$ERROR("#8.4: new Date(date_2100_start) !== undefined"); $ERROR("#8.4: new Date(date_2100_start) !== undefined");
} }

View File

@ -23,7 +23,7 @@ if (!Date.prototype.isPrototypeOf(x12)) {
} }
var x13 = new Date(date_1899_end); var x13 = new Date(date_1899_end);
if(Date.prototype !== x13.constructor.prototype){ if (Date.prototype !== x13.constructor.prototype) {
$ERROR("#1.3: Date.prototype !== x13.constructor.prototype"); $ERROR("#1.3: Date.prototype !== x13.constructor.prototype");
} }
@ -38,7 +38,7 @@ if (!Date.prototype.isPrototypeOf(x22)) {
} }
var x23 = new Date(date_1900_start); var x23 = new Date(date_1900_start);
if(Date.prototype !== x23.constructor.prototype){ if (Date.prototype !== x23.constructor.prototype) {
$ERROR("#2.3: Date.prototype !== x23.constructor.prototype"); $ERROR("#2.3: Date.prototype !== x23.constructor.prototype");
} }
@ -53,7 +53,7 @@ if (!Date.prototype.isPrototypeOf(x32)) {
} }
var x33 = new Date(date_1969_end); var x33 = new Date(date_1969_end);
if(Date.prototype !== x33.constructor.prototype){ if (Date.prototype !== x33.constructor.prototype) {
$ERROR("#3.3: Date.prototype !== x33.constructor.prototype"); $ERROR("#3.3: Date.prototype !== x33.constructor.prototype");
} }
@ -68,7 +68,7 @@ if (!Date.prototype.isPrototypeOf(x42)) {
} }
var x43 = new Date(date_1970_start); var x43 = new Date(date_1970_start);
if(Date.prototype !== x43.constructor.prototype){ if (Date.prototype !== x43.constructor.prototype) {
$ERROR("#4.3: Date.prototype !== x43.constructor.prototype"); $ERROR("#4.3: Date.prototype !== x43.constructor.prototype");
} }
@ -83,7 +83,7 @@ if (!Date.prototype.isPrototypeOf(x52)) {
} }
var x53 = new Date(date_1999_end); var x53 = new Date(date_1999_end);
if(Date.prototype !== x53.constructor.prototype){ if (Date.prototype !== x53.constructor.prototype) {
$ERROR("#5.3: Date.prototype !== x53.constructor.prototype"); $ERROR("#5.3: Date.prototype !== x53.constructor.prototype");
} }
@ -98,7 +98,7 @@ if (!Date.prototype.isPrototypeOf(x62)) {
} }
var x63 = new Date(date_2000_start); var x63 = new Date(date_2000_start);
if(Date.prototype !== x63.constructor.prototype){ if (Date.prototype !== x63.constructor.prototype) {
$ERROR("#6.3: Date.prototype !== x63.constructor.prototype"); $ERROR("#6.3: Date.prototype !== x63.constructor.prototype");
} }
@ -113,7 +113,7 @@ if (!Date.prototype.isPrototypeOf(x72)) {
} }
var x73 = new Date(date_2099_end); var x73 = new Date(date_2099_end);
if(Date.prototype !== x73.constructor.prototype){ if (Date.prototype !== x73.constructor.prototype) {
$ERROR("#7.3: Date.prototype !== x73.constructor.prototype"); $ERROR("#7.3: Date.prototype !== x73.constructor.prototype");
} }
@ -128,6 +128,6 @@ if (!Date.prototype.isPrototypeOf(x82)) {
} }
var x83 = new Date(date_2100_start); var x83 = new Date(date_2100_start);
if(Date.prototype !== x83.constructor.prototype){ if (Date.prototype !== x83.constructor.prototype) {
$ERROR("#8.3: Date.prototype !== x83.constructor.prototype"); $ERROR("#8.3: Date.prototype !== x83.constructor.prototype");
} }

View File

@ -8,6 +8,6 @@ es5id: 15.9.4_A1
description: Checking existence of the property "prototype" description: Checking existence of the property "prototype"
---*/ ---*/
if(!Date.hasOwnProperty("prototype")){ if (!Date.hasOwnProperty("prototype")) {
$ERROR('#1: The Date constructor has the property "prototype"'); $ERROR('#1: The Date constructor has the property "prototype"');
} }

View File

@ -8,6 +8,6 @@ es5id: 15.9.4_A2
description: Checking existence of the property "parse" description: Checking existence of the property "parse"
---*/ ---*/
if(!Date.hasOwnProperty("parse")){ if (!Date.hasOwnProperty("parse")) {
$ERROR('#1: The Date constructor has the property "parse"'); $ERROR('#1: The Date constructor has the property "parse"');
} }

View File

@ -8,6 +8,6 @@ es5id: 15.9.4_A3
description: Checking existence of the property "UTC" description: Checking existence of the property "UTC"
---*/ ---*/
if(!Date.hasOwnProperty("UTC")){ if (!Date.hasOwnProperty("UTC")) {
$ERROR('#1: The Date constructor has the property "UTC"'); $ERROR('#1: The Date constructor has the property "UTC"');
} }

View File

@ -9,7 +9,7 @@ description: Checking Date.length property
---*/ ---*/
//CHECK#1 //CHECK#1
if (!Date.hasOwnProperty("length")){ if (!Date.hasOwnProperty("length")) {
$ERROR('#1: Date constructor has length property'); $ERROR('#1: Date constructor has length property');
} }

View File

@ -9,7 +9,7 @@ description: Checking absence of ReadOnly attribute
---*/ ---*/
var x = Date.UTC; var x = Date.UTC;
if(x === 1) if (x === 1)
Date.UTC = 2; Date.UTC = 2;
else else
Date.UTC = 1; Date.UTC = 1;

View File

@ -8,7 +8,7 @@ es5id: 15.9.4.3_A1_T2
description: Checking absence of DontDelete attribute description: Checking absence of DontDelete attribute
---*/ ---*/
if (delete Date.UTC === false) { if (delete Date.UTC === false) {
$ERROR('#1: The Date.UTC property has not the attributes DontDelete'); $ERROR('#1: The Date.UTC property has not the attributes DontDelete');
} }

View File

@ -12,8 +12,8 @@ if (Date.propertyIsEnumerable('UTC')) {
$ERROR('#1: The Date.UTC property has the attribute DontEnum'); $ERROR('#1: The Date.UTC property has the attribute DontEnum');
} }
for(var x in Date) { for (var x in Date) {
if(x === "UTC") { if (x === "UTC") {
$ERROR('#2: The Date.UTC has the attribute DontEnum'); $ERROR('#2: The Date.UTC has the attribute DontEnum');
} }
} }

View File

@ -8,10 +8,10 @@ es5id: 15.9.4.3_A2_T1
description: The "length" property of the "UTC" is 7 description: The "length" property of the "UTC" is 7
---*/ ---*/
if(Date.UTC.hasOwnProperty("length") !== true){ if (Date.UTC.hasOwnProperty("length") !== true) {
$ERROR('#1: The UTC has a "length" property'); $ERROR('#1: The UTC has a "length" property');
} }
if(Date.UTC.length !== 7){ if (Date.UTC.length !== 7) {
$ERROR('#2: The "length" property of the UTC is 7'); $ERROR('#2: The "length" property of the UTC is 7');
} }

View File

@ -10,7 +10,7 @@ es5id: 15.9.4.3_A3_T2
description: Checking DontDelete attribute description: Checking DontDelete attribute
---*/ ---*/
if (delete Date.UTC.length !== true) { if (delete Date.UTC.length !== true) {
$ERROR('#1: The Date.UTC.length property does not have the attributes DontDelete'); $ERROR('#1: The Date.UTC.length property does not have the attributes DontDelete');
} }

View File

@ -14,8 +14,8 @@ if (Date.UTC.propertyIsEnumerable('length')) {
$ERROR('#1: The Date.UTC.length property has the attribute DontEnum'); $ERROR('#1: The Date.UTC.length property has the attribute DontEnum');
} }
for(var x in Date.UTC) { for (var x in Date.UTC) {
if(x === "length") { if (x === "length") {
$ERROR('#2: The Date.UTC.length has the attribute DontEnum'); $ERROR('#2: The Date.UTC.length has the attribute DontEnum');
} }
} }

View File

@ -7,6 +7,6 @@ es5id: 15.9.4.4-0-3
description: Date.now must exist as a function description: Date.now must exist as a function
---*/ ---*/
var fun = Date.now; var fun = Date.now;
assert.sameValue(typeof (fun), "function", 'typeof (fun)'); assert.sameValue(typeof(fun), "function", 'typeof (fun)');

View File

@ -9,7 +9,7 @@ description: Checking absence of ReadOnly attribute
---*/ ---*/
var x = Date.parse; var x = Date.parse;
if(x === 1) if (x === 1)
Date.parse = 2; Date.parse = 2;
else else
Date.parse = 1; Date.parse = 1;

View File

@ -8,7 +8,7 @@ es5id: 15.9.4.2_A1_T2
description: Checking absence of DontDelete attribute description: Checking absence of DontDelete attribute
---*/ ---*/
if (delete Date.parse === false) { if (delete Date.parse === false) {
$ERROR('#1: The Date.parse property has not the attributes DontDelete'); $ERROR('#1: The Date.parse property has not the attributes DontDelete');
} }

View File

@ -12,8 +12,8 @@ if (Date.propertyIsEnumerable('parse')) {
$ERROR('#1: The Date.parse property has the attribute DontEnum'); $ERROR('#1: The Date.parse property has the attribute DontEnum');
} }
for(var x in Date) { for (var x in Date) {
if(x === "parse") { if (x === "parse") {
$ERROR('#2: The Date.parse has the attribute DontEnum'); $ERROR('#2: The Date.parse has the attribute DontEnum');
} }
} }

View File

@ -8,10 +8,10 @@ es5id: 15.9.4.2_A2_T1
description: The "length" property of the "parse" is 1 description: The "length" property of the "parse" is 1
---*/ ---*/
if(Date.parse.hasOwnProperty("length") !== true){ if (Date.parse.hasOwnProperty("length") !== true) {
$ERROR('#1: The parse has a "length" property'); $ERROR('#1: The parse has a "length" property');
} }
if(Date.parse.length !== 1){ if (Date.parse.length !== 1) {
$ERROR('#2: The "length" property of the parse is 1'); $ERROR('#2: The "length" property of the parse is 1');
} }

View File

@ -10,7 +10,7 @@ es5id: 15.9.4.2_A3_T2
description: Checking DontDelete attribute description: Checking DontDelete attribute
---*/ ---*/
if (delete Date.parse.length !== true) { if (delete Date.parse.length !== true) {
$ERROR('#1: The Date.parse.length property does not have the attributes DontDelete'); $ERROR('#1: The Date.parse.length property does not have the attributes DontDelete');
} }

View File

@ -14,8 +14,8 @@ if (Date.parse.propertyIsEnumerable('length')) {
$ERROR('#1: The Date.parse.length property has the attribute DontEnum'); $ERROR('#1: The Date.parse.length property has the attribute DontEnum');
} }
for(var x in Date.parse) { for (var x in Date.parse) {
if(x === "length") { if (x === "length") {
$ERROR('#2: The Date.parse.length has the attribute DontEnum'); $ERROR('#2: The Date.parse.length has the attribute DontEnum');
} }
} }

View File

@ -14,8 +14,8 @@ if (Date.propertyIsEnumerable('prototype')) {
$ERROR('#1: The Date.prototype property has the attribute DontEnum'); $ERROR('#1: The Date.prototype property has the attribute DontEnum');
} }
for(var x in Date) { for (var x in Date) {
if(x === "prototype") { if (x === "prototype") {
$ERROR('#2: The Date.prototype has the attribute DontEnum'); $ERROR('#2: The Date.prototype has the attribute DontEnum');
} }
} }

View File

@ -8,6 +8,6 @@ es5id: 15.9.5_A01_T1
description: The Date.prototype has the property "constructor" description: The Date.prototype has the property "constructor"
---*/ ---*/
if(Date.prototype.hasOwnProperty("constructor") !== true){ if (Date.prototype.hasOwnProperty("constructor") !== true) {
$ERROR('#1: The Date.prototype has the property "constructor"'); $ERROR('#1: The Date.prototype has the property "constructor"');
} }

View File

@ -8,6 +8,6 @@ es5id: 15.9.5_A02_T1
description: The Date.prototype has the property "toString" description: The Date.prototype has the property "toString"
---*/ ---*/
if(Date.prototype.hasOwnProperty("toString") !== true){ if (Date.prototype.hasOwnProperty("toString") !== true) {
$ERROR('#1: The Date.prototype has the property "toString"'); $ERROR('#1: The Date.prototype has the property "toString"');
} }

View File

@ -8,6 +8,6 @@ es5id: 15.9.5_A03_T1
description: The Date.prototype has the property "toDateString" description: The Date.prototype has the property "toDateString"
---*/ ---*/
if(Date.prototype.hasOwnProperty("toDateString") !== true){ if (Date.prototype.hasOwnProperty("toDateString") !== true) {
$ERROR('#1: The Date.prototype has the property "toDateString"'); $ERROR('#1: The Date.prototype has the property "toDateString"');
} }

View File

@ -8,6 +8,6 @@ es5id: 15.9.5_A04_T1
description: The Date.prototype has the property "toTimeString" description: The Date.prototype has the property "toTimeString"
---*/ ---*/
if(Date.prototype.hasOwnProperty("toTimeString") !== true){ if (Date.prototype.hasOwnProperty("toTimeString") !== true) {
$ERROR('#1: The Date.prototype has the property "toTimeString"'); $ERROR('#1: The Date.prototype has the property "toTimeString"');
} }

View File

@ -8,6 +8,6 @@ es5id: 15.9.5_A05_T1
description: The Date.prototype has the property "toLocaleString" description: The Date.prototype has the property "toLocaleString"
---*/ ---*/
if(Date.prototype.hasOwnProperty("toLocaleString") !== true){ if (Date.prototype.hasOwnProperty("toLocaleString") !== true) {
$ERROR('#1: The Date.prototype has the property "toLocaleString"'); $ERROR('#1: The Date.prototype has the property "toLocaleString"');
} }

View File

@ -8,6 +8,6 @@ es5id: 15.9.5_A06_T1
description: The Date.prototype has the property "toLocaleDateString" description: The Date.prototype has the property "toLocaleDateString"
---*/ ---*/
if(Date.prototype.hasOwnProperty("toLocaleDateString") !== true){ if (Date.prototype.hasOwnProperty("toLocaleDateString") !== true) {
$ERROR('#1: The Date.prototype has the property "toLocaleDateString"'); $ERROR('#1: The Date.prototype has the property "toLocaleDateString"');
} }

View File

@ -8,6 +8,6 @@ es5id: 15.9.5_A07_T1
description: The Date.prototype has the property "toLocaleTimeString" description: The Date.prototype has the property "toLocaleTimeString"
---*/ ---*/
if(Date.prototype.hasOwnProperty("toLocaleTimeString") !== true){ if (Date.prototype.hasOwnProperty("toLocaleTimeString") !== true) {
$ERROR('#1: The Date.prototype has the property "toLocaleTimeString"'); $ERROR('#1: The Date.prototype has the property "toLocaleTimeString"');
} }

View File

@ -8,6 +8,6 @@ es5id: 15.9.5_A08_T1
description: The Date.prototype has the property "valueOf" description: The Date.prototype has the property "valueOf"
---*/ ---*/
if(Date.prototype.hasOwnProperty("valueOf") !== true){ if (Date.prototype.hasOwnProperty("valueOf") !== true) {
$ERROR('#1: The Date.prototype has the property "valueOf"'); $ERROR('#1: The Date.prototype has the property "valueOf"');
} }

View File

@ -8,6 +8,6 @@ es5id: 15.9.5_A09_T1
description: The Date.prototype has the property "getTime" description: The Date.prototype has the property "getTime"
---*/ ---*/
if(Date.prototype.hasOwnProperty("getTime") !== true){ if (Date.prototype.hasOwnProperty("getTime") !== true) {
$ERROR('#1: The Date.prototype has the property "getTime"'); $ERROR('#1: The Date.prototype has the property "getTime"');
} }

View File

@ -8,6 +8,6 @@ es5id: 15.9.5_A10_T1
description: The Date.prototype has the property "getFullYear" description: The Date.prototype has the property "getFullYear"
---*/ ---*/
if(Date.prototype.hasOwnProperty("getFullYear") !== true){ if (Date.prototype.hasOwnProperty("getFullYear") !== true) {
$ERROR('#1: The Date.prototype has the property "getFullYear"'); $ERROR('#1: The Date.prototype has the property "getFullYear"');
} }

View File

@ -8,6 +8,6 @@ es5id: 15.9.5_A11_T1
description: The Date.prototype has the property "getUTCFullYear" description: The Date.prototype has the property "getUTCFullYear"
---*/ ---*/
if(Date.prototype.hasOwnProperty("getUTCFullYear") !== true){ if (Date.prototype.hasOwnProperty("getUTCFullYear") !== true) {
$ERROR('#1: The Date.prototype has the property "getUTCFullYear"'); $ERROR('#1: The Date.prototype has the property "getUTCFullYear"');
} }

View File

@ -8,6 +8,6 @@ es5id: 15.9.5_A12_T1
description: The Date.prototype has the property "getMonth" description: The Date.prototype has the property "getMonth"
---*/ ---*/
if(Date.prototype.hasOwnProperty("getMonth") !== true){ if (Date.prototype.hasOwnProperty("getMonth") !== true) {
$ERROR('#1: The Date.prototype has the property "getMonth"'); $ERROR('#1: The Date.prototype has the property "getMonth"');
} }

View File

@ -8,6 +8,6 @@ es5id: 15.9.5_A13_T1
description: The Date.prototype has the property "getUTCMonth" description: The Date.prototype has the property "getUTCMonth"
---*/ ---*/
if(Date.prototype.hasOwnProperty("getUTCMonth") !== true){ if (Date.prototype.hasOwnProperty("getUTCMonth") !== true) {
$ERROR('#1: The Date.prototype has the property "getUTCMonth"'); $ERROR('#1: The Date.prototype has the property "getUTCMonth"');
} }

View File

@ -8,6 +8,6 @@ es5id: 15.9.5_A14_T1
description: The Date.prototype has the property "getDate" description: The Date.prototype has the property "getDate"
---*/ ---*/
if(Date.prototype.hasOwnProperty("getDate") !== true){ if (Date.prototype.hasOwnProperty("getDate") !== true) {
$ERROR('#1: The Date.prototype has the property "getDate"'); $ERROR('#1: The Date.prototype has the property "getDate"');
} }

View File

@ -8,6 +8,6 @@ es5id: 15.9.5_A15_T1
description: The Date.prototype has the property "getUTCDate" description: The Date.prototype has the property "getUTCDate"
---*/ ---*/
if(Date.prototype.hasOwnProperty("getUTCDate") !== true){ if (Date.prototype.hasOwnProperty("getUTCDate") !== true) {
$ERROR('#1: The Date.prototype has the property "getUTCDate"'); $ERROR('#1: The Date.prototype has the property "getUTCDate"');
} }

View File

@ -8,6 +8,6 @@ es5id: 15.9.5_A16_T1
description: The Date.prototype has the property "getDay" description: The Date.prototype has the property "getDay"
---*/ ---*/
if(Date.prototype.hasOwnProperty("getDay") !== true){ if (Date.prototype.hasOwnProperty("getDay") !== true) {
$ERROR('#1: The Date.prototype has the property "getDay"'); $ERROR('#1: The Date.prototype has the property "getDay"');
} }

View File

@ -8,6 +8,6 @@ es5id: 15.9.5_A17_T1
description: The Date.prototype has the property "getUTCDay" description: The Date.prototype has the property "getUTCDay"
---*/ ---*/
if(Date.prototype.hasOwnProperty("getUTCDay") !== true){ if (Date.prototype.hasOwnProperty("getUTCDay") !== true) {
$ERROR('#1: The Date.prototype has the property "getUTCDay"'); $ERROR('#1: The Date.prototype has the property "getUTCDay"');
} }

View File

@ -8,6 +8,6 @@ es5id: 15.9.5_A18_T1
description: The Date.prototype has the property "getHours" description: The Date.prototype has the property "getHours"
---*/ ---*/
if(Date.prototype.hasOwnProperty("getHours") !== true){ if (Date.prototype.hasOwnProperty("getHours") !== true) {
$ERROR('#1: The Date.prototype has the property "getHours"'); $ERROR('#1: The Date.prototype has the property "getHours"');
} }

View File

@ -8,6 +8,6 @@ es5id: 15.9.5_A19_T1
description: The Date.prototype has the property "getUTCHours" description: The Date.prototype has the property "getUTCHours"
---*/ ---*/
if(Date.prototype.hasOwnProperty("getUTCHours") !== true){ if (Date.prototype.hasOwnProperty("getUTCHours") !== true) {
$ERROR('#1: The Date.prototype has the property "getUTCHours"'); $ERROR('#1: The Date.prototype has the property "getUTCHours"');
} }

View File

@ -8,6 +8,6 @@ es5id: 15.9.5_A20_T1
description: The Date.prototype has the property "getMinutes" description: The Date.prototype has the property "getMinutes"
---*/ ---*/
if(Date.prototype.hasOwnProperty("getMinutes") !== true){ if (Date.prototype.hasOwnProperty("getMinutes") !== true) {
$ERROR('#1: The Date.prototype has the property "getMinutes"'); $ERROR('#1: The Date.prototype has the property "getMinutes"');
} }

View File

@ -8,6 +8,6 @@ es5id: 15.9.5_A21_T1
description: The Date.prototype has the property "getUTCMinutes" description: The Date.prototype has the property "getUTCMinutes"
---*/ ---*/
if(Date.prototype.hasOwnProperty("getUTCMinutes") !== true){ if (Date.prototype.hasOwnProperty("getUTCMinutes") !== true) {
$ERROR('#1: The Date.prototype has the property "getUTCMinutes"'); $ERROR('#1: The Date.prototype has the property "getUTCMinutes"');
} }

View File

@ -8,6 +8,6 @@ es5id: 15.9.5_A22_T1
description: The Date.prototype has the property "getSeconds" description: The Date.prototype has the property "getSeconds"
---*/ ---*/
if(Date.prototype.hasOwnProperty("getSeconds") !== true){ if (Date.prototype.hasOwnProperty("getSeconds") !== true) {
$ERROR('#1: The Date.prototype has the property "getSeconds"'); $ERROR('#1: The Date.prototype has the property "getSeconds"');
} }

View File

@ -8,6 +8,6 @@ es5id: 15.9.5_A23_T1
description: The Date.prototype has the property "getUTCSeconds" description: The Date.prototype has the property "getUTCSeconds"
---*/ ---*/
if(Date.prototype.hasOwnProperty("getUTCSeconds") !== true){ if (Date.prototype.hasOwnProperty("getUTCSeconds") !== true) {
$ERROR('#1: The Date.prototype has the property "getUTCSeconds"'); $ERROR('#1: The Date.prototype has the property "getUTCSeconds"');
} }

View File

@ -8,6 +8,6 @@ es5id: 15.9.5_A24_T1
description: The Date.prototype has the property "getMilliseconds" description: The Date.prototype has the property "getMilliseconds"
---*/ ---*/
if(Date.prototype.hasOwnProperty("getMilliseconds") !== true){ if (Date.prototype.hasOwnProperty("getMilliseconds") !== true) {
$ERROR('#1: The Date.prototype has the property "getMilliseconds"'); $ERROR('#1: The Date.prototype has the property "getMilliseconds"');
} }

View File

@ -8,6 +8,6 @@ es5id: 15.9.5_A25_T1
description: The Date.prototype has the property "getUTCMilliseconds" description: The Date.prototype has the property "getUTCMilliseconds"
---*/ ---*/
if(Date.prototype.hasOwnProperty("getUTCMilliseconds") !== true){ if (Date.prototype.hasOwnProperty("getUTCMilliseconds") !== true) {
$ERROR('#1: The Date.prototype has the property "getUTCMilliseconds"'); $ERROR('#1: The Date.prototype has the property "getUTCMilliseconds"');
} }

View File

@ -8,6 +8,6 @@ es5id: 15.9.5_A26_T1
description: The Date.prototype has the property "getTimezoneOffset" description: The Date.prototype has the property "getTimezoneOffset"
---*/ ---*/
if(Date.prototype.hasOwnProperty("getTimezoneOffset") !== true){ if (Date.prototype.hasOwnProperty("getTimezoneOffset") !== true) {
$ERROR('#1: The Date.prototype has the property "getTimezoneOffset"'); $ERROR('#1: The Date.prototype has the property "getTimezoneOffset"');
} }

View File

@ -8,6 +8,6 @@ es5id: 15.9.5_A27_T1
description: The Date.prototype has the property "setTime" description: The Date.prototype has the property "setTime"
---*/ ---*/
if(Date.prototype.hasOwnProperty("setTime") !== true){ if (Date.prototype.hasOwnProperty("setTime") !== true) {
$ERROR('#1: The Date.prototype has the property "setTime"'); $ERROR('#1: The Date.prototype has the property "setTime"');
} }

View File

@ -8,6 +8,6 @@ es5id: 15.9.5_A28_T1
description: The Date.prototype has the property "setMilliseconds" description: The Date.prototype has the property "setMilliseconds"
---*/ ---*/
if(Date.prototype.hasOwnProperty("setMilliseconds") !== true){ if (Date.prototype.hasOwnProperty("setMilliseconds") !== true) {
$ERROR('#1: The Date.prototype has the property "setMilliseconds"'); $ERROR('#1: The Date.prototype has the property "setMilliseconds"');
} }

View File

@ -8,6 +8,6 @@ es5id: 15.9.5_A29_T1
description: The Date.prototype has the property "setUTCMilliseconds" description: The Date.prototype has the property "setUTCMilliseconds"
---*/ ---*/
if(Date.prototype.hasOwnProperty("setUTCMilliseconds") !== true){ if (Date.prototype.hasOwnProperty("setUTCMilliseconds") !== true) {
$ERROR('#1: The Date.prototype has the property "setUTCMilliseconds"'); $ERROR('#1: The Date.prototype has the property "setUTCMilliseconds"');
} }

View File

@ -8,6 +8,6 @@ es5id: 15.9.5_A30_T1
description: The Date.prototype has the property "setSeconds" description: The Date.prototype has the property "setSeconds"
---*/ ---*/
if(Date.prototype.hasOwnProperty("setSeconds") !== true){ if (Date.prototype.hasOwnProperty("setSeconds") !== true) {
$ERROR('#1: The Date.prototype has the property "setSeconds"'); $ERROR('#1: The Date.prototype has the property "setSeconds"');
} }

View File

@ -8,6 +8,6 @@ es5id: 15.9.5_A31_T1
description: The Date.prototype has the property "setUTCSeconds" description: The Date.prototype has the property "setUTCSeconds"
---*/ ---*/
if(Date.prototype.hasOwnProperty("setUTCSeconds") !== true){ if (Date.prototype.hasOwnProperty("setUTCSeconds") !== true) {
$ERROR('#1: The Date.prototype has the property "setUTCSeconds"'); $ERROR('#1: The Date.prototype has the property "setUTCSeconds"');
} }

View File

@ -8,6 +8,6 @@ es5id: 15.9.5_A32_T1
description: The Date.prototype has the property "setMinutes" description: The Date.prototype has the property "setMinutes"
---*/ ---*/
if(Date.prototype.hasOwnProperty("setMinutes") !== true){ if (Date.prototype.hasOwnProperty("setMinutes") !== true) {
$ERROR('#1: The Date.prototype has the property "setMinutes"'); $ERROR('#1: The Date.prototype has the property "setMinutes"');
} }

View File

@ -8,6 +8,6 @@ es5id: 15.9.5_A33_T1
description: The Date.prototype has the property "setUTCMinutes" description: The Date.prototype has the property "setUTCMinutes"
---*/ ---*/
if(Date.prototype.hasOwnProperty("setUTCMinutes") !== true){ if (Date.prototype.hasOwnProperty("setUTCMinutes") !== true) {
$ERROR('#1: The Date.prototype has the property "setUTCMinutes"'); $ERROR('#1: The Date.prototype has the property "setUTCMinutes"');
} }

View File

@ -8,6 +8,6 @@ es5id: 15.9.5_A34_T1
description: The Date.prototype has the property "setHours" description: The Date.prototype has the property "setHours"
---*/ ---*/
if(Date.prototype.hasOwnProperty("setHours") !== true){ if (Date.prototype.hasOwnProperty("setHours") !== true) {
$ERROR('#1: The Date.prototype has the property "setHours"'); $ERROR('#1: The Date.prototype has the property "setHours"');
} }

View File

@ -8,6 +8,6 @@ es5id: 15.9.5_A35_T1
description: The Date.prototype has the property "setUTCHours" description: The Date.prototype has the property "setUTCHours"
---*/ ---*/
if(Date.prototype.hasOwnProperty("setUTCHours") !== true){ if (Date.prototype.hasOwnProperty("setUTCHours") !== true) {
$ERROR('#1: The Date.prototype has the property "setUTCHours"'); $ERROR('#1: The Date.prototype has the property "setUTCHours"');
} }

View File

@ -8,6 +8,6 @@ es5id: 15.9.5_A36_T1
description: The Date.prototype has the property "setDate" description: The Date.prototype has the property "setDate"
---*/ ---*/
if(Date.prototype.hasOwnProperty("setDate") !== true){ if (Date.prototype.hasOwnProperty("setDate") !== true) {
$ERROR('#1: The Date.prototype has the property "setDate"'); $ERROR('#1: The Date.prototype has the property "setDate"');
} }

View File

@ -8,6 +8,6 @@ es5id: 15.9.5_A37_T1
description: The Date.prototype has the property "setUTCDate" description: The Date.prototype has the property "setUTCDate"
---*/ ---*/
if(Date.prototype.hasOwnProperty("setUTCDate") !== true){ if (Date.prototype.hasOwnProperty("setUTCDate") !== true) {
$ERROR('#1: The Date.prototype has the property "setUTCDate"'); $ERROR('#1: The Date.prototype has the property "setUTCDate"');
} }

View File

@ -8,6 +8,6 @@ es5id: 15.9.5_A38_T1
description: The Date.prototype has the property "setMonth" description: The Date.prototype has the property "setMonth"
---*/ ---*/
if(Date.prototype.hasOwnProperty("setMonth") !== true){ if (Date.prototype.hasOwnProperty("setMonth") !== true) {
$ERROR('#1: The Date.prototype has the property "setMonth"'); $ERROR('#1: The Date.prototype has the property "setMonth"');
} }

View File

@ -8,6 +8,6 @@ es5id: 15.9.5_A39_T1
description: The Date.prototype has the property "setUTCMonth" description: The Date.prototype has the property "setUTCMonth"
---*/ ---*/
if(Date.prototype.hasOwnProperty("setUTCMonth") !== true){ if (Date.prototype.hasOwnProperty("setUTCMonth") !== true) {
$ERROR('#1: The Date.prototype has the property "setUTCMonth"'); $ERROR('#1: The Date.prototype has the property "setUTCMonth"');
} }

View File

@ -8,6 +8,6 @@ es5id: 15.9.5_A40_T1
description: The Date.prototype has the property "setFullYear" description: The Date.prototype has the property "setFullYear"
---*/ ---*/
if(Date.prototype.hasOwnProperty("setFullYear") !== true){ if (Date.prototype.hasOwnProperty("setFullYear") !== true) {
$ERROR('#1: The Date.prototype has the property "setFullYear"'); $ERROR('#1: The Date.prototype has the property "setFullYear"');
} }

View File

@ -8,6 +8,6 @@ es5id: 15.9.5_A41_T1
description: The Date.prototype has the property "setUTCFullYear" description: The Date.prototype has the property "setUTCFullYear"
---*/ ---*/
if(Date.prototype.hasOwnProperty("setUTCFullYear") !== true){ if (Date.prototype.hasOwnProperty("setUTCFullYear") !== true) {
$ERROR('#1: The Date.prototype has the property "setUTCFullYear"'); $ERROR('#1: The Date.prototype has the property "setUTCFullYear"');
} }

View File

@ -8,6 +8,6 @@ es5id: 15.9.5_A42_T1
description: The Date.prototype has the property "toUTCString" description: The Date.prototype has the property "toUTCString"
---*/ ---*/
if(Date.prototype.hasOwnProperty("toUTCString") !== true){ if (Date.prototype.hasOwnProperty("toUTCString") !== true) {
$ERROR('#1: The Date.prototype has the property "toUTCString"'); $ERROR('#1: The Date.prototype has the property "toUTCString"');
} }

View File

@ -48,5 +48,9 @@ assert.throws(TypeError, function() {
}); });
assert.throws(TypeError, function() { assert.throws(TypeError, function() {
d[Symbol.toPrimitive]({ toString: function() { 'number'; } }); d[Symbol.toPrimitive]({
toString: function() {
'number';
}
});
}); });

View File

@ -9,7 +9,7 @@ description: Checking absence of ReadOnly attribute
---*/ ---*/
var x = Date.prototype.constructor; var x = Date.prototype.constructor;
if(x === 1) if (x === 1)
Date.prototype.constructor = 2; Date.prototype.constructor = 2;
else else
Date.prototype.constructor = 1; Date.prototype.constructor = 1;

View File

@ -8,7 +8,7 @@ es5id: 15.9.5.1_A1_T2
description: Checking absence of DontDelete attribute description: Checking absence of DontDelete attribute
---*/ ---*/
if (delete Date.prototype.constructor === false) { if (delete Date.prototype.constructor === false) {
$ERROR('#1: The Date.prototype.constructor property has not the attributes DontDelete'); $ERROR('#1: The Date.prototype.constructor property has not the attributes DontDelete');
} }

View File

@ -12,8 +12,8 @@ if (Date.prototype.propertyIsEnumerable('constructor')) {
$ERROR('#1: The Date.prototype.constructor property has the attribute DontEnum'); $ERROR('#1: The Date.prototype.constructor property has the attribute DontEnum');
} }
for(var x in Date.prototype) { for (var x in Date.prototype) {
if(x === "constructor") { if (x === "constructor") {
$ERROR('#2: The Date.prototype.constructor has the attribute DontEnum'); $ERROR('#2: The Date.prototype.constructor has the attribute DontEnum');
} }
} }

View File

@ -8,10 +8,10 @@ es5id: 15.9.5.1_A2_T1
description: The "length" property of the "constructor" is 7 description: The "length" property of the "constructor" is 7
---*/ ---*/
if(Date.prototype.constructor.hasOwnProperty("length") !== true){ if (Date.prototype.constructor.hasOwnProperty("length") !== true) {
$ERROR('#1: The constructor has a "length" property'); $ERROR('#1: The constructor has a "length" property');
} }
if(Date.prototype.constructor.length !== 7){ if (Date.prototype.constructor.length !== 7) {
$ERROR('#2: The "length" property of the constructor is 7'); $ERROR('#2: The "length" property of the constructor is 7');
} }

View File

@ -10,7 +10,7 @@ es5id: 15.9.5.1_A3_T2
description: Checking DontDelete attribute description: Checking DontDelete attribute
---*/ ---*/
if (delete Date.prototype.constructor.length !== true) { if (delete Date.prototype.constructor.length !== true) {
$ERROR('#1: The Date.prototype.constructor.length property does not have the attributes DontDelete'); $ERROR('#1: The Date.prototype.constructor.length property does not have the attributes DontDelete');
} }

View File

@ -14,8 +14,8 @@ if (Date.prototype.constructor.propertyIsEnumerable('length')) {
$ERROR('#1: The Date.prototype.constructor.length property has the attribute DontEnum'); $ERROR('#1: The Date.prototype.constructor.length property has the attribute DontEnum');
} }
for(var x in Date.prototype.constructor) { for (var x in Date.prototype.constructor) {
if(x === "length") { if (x === "length") {
$ERROR('#2: The Date.prototype.constructor.length has the attribute DontEnum'); $ERROR('#2: The Date.prototype.constructor.length has the attribute DontEnum');
} }
} }

View File

@ -9,7 +9,7 @@ description: Checking absence of ReadOnly attribute
---*/ ---*/
var x = Date.prototype.getDate; var x = Date.prototype.getDate;
if(x === 1) if (x === 1)
Date.prototype.getDate = 2; Date.prototype.getDate = 2;
else else
Date.prototype.getDate = 1; Date.prototype.getDate = 1;

View File

@ -8,7 +8,7 @@ es5id: 15.9.5.14_A1_T2
description: Checking absence of DontDelete attribute description: Checking absence of DontDelete attribute
---*/ ---*/
if (delete Date.prototype.getDate === false) { if (delete Date.prototype.getDate === false) {
$ERROR('#1: The Date.prototype.getDate property has not the attributes DontDelete'); $ERROR('#1: The Date.prototype.getDate property has not the attributes DontDelete');
} }

View File

@ -12,8 +12,8 @@ if (Date.prototype.propertyIsEnumerable('getDate')) {
$ERROR('#1: The Date.prototype.getDate property has the attribute DontEnum'); $ERROR('#1: The Date.prototype.getDate property has the attribute DontEnum');
} }
for(var x in Date.prototype) { for (var x in Date.prototype) {
if(x === "getDate") { if (x === "getDate") {
$ERROR('#2: The Date.prototype.getDate has the attribute DontEnum'); $ERROR('#2: The Date.prototype.getDate has the attribute DontEnum');
} }
} }

View File

@ -8,10 +8,10 @@ es5id: 15.9.5.14_A2_T1
description: The "length" property of the "getDate" is 0 description: The "length" property of the "getDate" is 0
---*/ ---*/
if(Date.prototype.getDate.hasOwnProperty("length") !== true){ if (Date.prototype.getDate.hasOwnProperty("length") !== true) {
$ERROR('#1: The getDate has a "length" property'); $ERROR('#1: The getDate has a "length" property');
} }
if(Date.prototype.getDate.length !== 0){ if (Date.prototype.getDate.length !== 0) {
$ERROR('#2: The "length" property of the getDate is 0'); $ERROR('#2: The "length" property of the getDate is 0');
} }

Some files were not shown because too many files have changed in this diff Show More