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 // Use the defaul array prototype.
16 var proto = array.__proto__;
18 // Define [1] on the prototype to alter the array during concatenation.
22 // Alter the array.
23 array.length = 1;
24 // Force gc to move the array.
31 var concatted_array = Array.prototype.concat.call(array);