| Index: test/mjsunit/array-splice.js
|
| diff --git a/test/mjsunit/array-splice.js b/test/mjsunit/array-splice.js
|
| index 18f81fe842c05731a0cfd6ed2f6af8b9850c8449..6501ba4e8572e7d88997ec74d07d9614dbd68e5c 100644
|
| --- a/test/mjsunit/array-splice.js
|
| +++ b/test/mjsunit/array-splice.js
|
| @@ -287,3 +287,13 @@
|
| assertEquals(bigNum + 7, array.length);
|
| }
|
| })();
|
| +
|
| +(function() {
|
| + for (var i = 0; i < 7; i++) {
|
| + var a = [7, 8, 9];
|
| + a.splice(0, 0, 1, 2, 3, 4, 5, 6);
|
| + assertEquals([1, 2, 3, 4, 5, 6, 7, 8, 9], a);
|
| + assertFalse(a.hasOwnProperty(10));
|
| + assertEquals(undefined, a[10]);
|
| + }
|
| +})();
|
|
|