Lines Matching refs:splice
32 var spliced = array.splice(1, 1, 'one', 'two');
55 assertEquals(undefined, array.splice());
63 assertEquals([1, 2, 3], array.splice(0));
67 assertEquals([1, 2, 3], array.splice(undefined));
71 assertEquals([1, 2, 3], array.splice("foobar"));
75 assertEquals([], array.splice(undefined, undefined));
79 assertEquals([], array.splice("foobar", undefined));
83 assertEquals([], array.splice(undefined, "foobar"));
87 assertEquals([], array.splice("foobar", "foobar"));
98 spliced = array.splice(-100);
103 spliced = array.splice(-3);
108 spliced = array.splice(4);
113 spliced = array.splice(6);
118 spliced = array.splice(7);
123 spliced = array.splice(8);
128 spliced = array.splice(100);
133 spliced = array.splice(0, -100);
138 spliced = array.splice(0, -3);
143 spliced = array.splice(0, 4);
148 spliced = array.splice(0, 6);
153 spliced = array.splice(0, 7);
158 spliced = array.splice(0, 8);
163 spliced = array.splice(0, 100);
172 [1, 2, 3].splice(obj, 3);
179 [1, 2, 3].splice(0, obj, 3);
186 array.splice(0, 3, obj);
191 spliced = array.splice({valueOf: function() { return 1; }},
208 spliced = array.splice(bad_start, bad_count);
240 var spliced = array.splice(2, 2, 'one', undefined, 'two');
277 new Array((1 << 32) - 3).splice(-1, 0, 1, 2, 3, 4, 5);
286 array.splice(-1, 0, 1, 2, 3, 4, 5, 6, 7);