Home | History | Annotate | Download | only in mjsunit

Lines Matching full:array_2

45     var array_2 = new Array(length);
48 assertTrue(%HasFastSmiOnlyElements(array_2));
53 set(array_2, i, 0.5);
55 assertTrue(%HasFastDoubleElements(array_2));
59 set(array_2, i, 'object');
61 assertTrue(%HasFastElements(array_2));
65 set(array_2, i, 2*i+1);
72 assertEquals(0.5, array_2[i]);
75 assertEquals('object', array_2[i]);
78 assertEquals(2*i+1, array_2[i]);
81 assertEquals(undefined, array_2[i]);
86 assertEquals(length, array_2.length);