Lines Matching refs:Array
34 var concat = Array.prototype.concat;
39 var array = [1, 2, 3];
40 array.__proto__ = str;
41 array.length = 4;
42 assertEquals([1,2,3,'d'], concat.call(array));
49 var a = new Array(pos);
95 // Non-numeric properties on the prototype or the array shouldn't get
121 var a = new Array(pos);
141 Array.prototype["123"] = 'baz';
153 Array.prototype["123"] = undefined;
159 Array.prototype[123] = 'baz';
165 // Non-numeric properties on the prototype or the array shouldn't get
167 Array.prototype.moe = 'joe';
178 Array.prototype.moe = undefined;
200 assertEquals(9, holey.length); // hole in embedded array is ignored
210 delete Array.prototype[123];
218 // Make first array change length of second array.
226 // Make first array change length of second array massively.