| Index: test/mjsunit/array-splice.js
|
| diff --git a/test/mjsunit/array-splice.js b/test/mjsunit/array-splice.js
|
| index bd471eceb6e9f25c3d6a5b4d8701cc68651cf7fb..8e2789b152c22e3e414a98df0f43a157b0efef91 100644
|
| --- a/test/mjsunit/array-splice.js
|
| +++ b/test/mjsunit/array-splice.js
|
| @@ -53,6 +53,16 @@
|
| })();
|
|
|
|
|
| +// Check that even if result array is empty, receiver gets sliced.
|
| +(function() {
|
| + for (var i = 0; i < 7; i++) {
|
| + var a = [1, 2, 3];
|
| + assertEquals([], a.splice(1, 0, 'a', 'b', 'c'));
|
| + assertEquals([1, 'a', 'b', 'c', 2, 3], a);
|
| + }
|
| +})();
|
| +
|
| +
|
| // Check various forms of arguments omission.
|
| (function() {
|
| var array;
|
|
|