Home | History | Annotate | Download | only in regress

Lines Matching refs:Array

7 array = new Array(10);
8 array[0] = 0.1;
9 // array[1] = THE_HOLE, reading through the prototype chain
10 array[2] = 2.1;
11 array[3] = 3.1;
13 var copy = array.slice(0, array.length);
15 // Change the array's prototype.
17 array.__proto__ = proto;
19 // Define [1] on the prototype to alter the array during concatenation.
23 // Alter the array.
24 array.length = 1;
25 // Force gc to move the array.
32 var concatted_array = Array.prototype.concat.call(array);