Home | History | Annotate | Download | only in mjsunit

Lines Matching refs:unshift

32   assertEquals(13, array.unshift('1st', '2ns', '3rd'));
40 // Check that unshift with no args has a side-effect of
63 assertEquals(len, array.unshift());
68 // unshift makes array own 0 and 2...
92 assertEquals(len + 1, array.unshift('head'));
95 // Note that unshift copies values from prototype into the array.
118 // Check that unshift with no args has a side-effect of
143 assertEquals(len, array.unshift());
145 // unshift makes array own 0 and 2...
171 assertEquals(len + 1, array.unshift('head'));
174 // Note that unshift copies values from prototype into the array.
197 new Array(Math.pow(2, 32) - 3).unshift(1, 2, 3, 4, 5);
205 assertEquals(bigNum + 7, new Array(bigNum).unshift(1, 2, 3, 4, 5, 6, 7));
212 a.unshift(1, 2, 3, 4, 5);
221 array.unshift(1)
228 array.unshift(1);