bug1552022.js (330B)
1 load(libdir + "eqArrayHelper.js"); 2 3 let expected = []; 4 class B { 5 constructor(...args) { 6 assertEqArray(expected, args); 7 } 8 } 9 10 class C extends B { 11 asdf = 2; 12 } 13 14 expected = []; 15 new C(); 16 expected = [1]; 17 new C(1); 18 expected = [1, 2]; 19 new C(1, 2); 20 21 if (typeof reportCompare === "function") 22 reportCompare(true, true);