| Index: test/mjsunit/array-splice.js
|
| ===================================================================
|
| --- test/mjsunit/array-splice.js (revision 5365)
|
| +++ test/mjsunit/array-splice.js (working copy)
|
| @@ -67,13 +67,8 @@
|
| (function() {
|
| var array;
|
| for (var i = 0; i < 7; i++) {
|
| - // SpiderMonkey and JSC return undefined in the case where no
|
| - // arguments are given instead of using the implicit undefined
|
| - // arguments. This does not follow ECMA-262, but we do the same for
|
| - // compatibility.
|
| - // TraceMonkey follows ECMA-262 though.
|
| array = [1, 2, 3]
|
| - assertEquals(undefined, array.splice());
|
| + assertEquals([], array.splice());
|
| assertEquals([1, 2, 3], array);
|
|
|
| // SpiderMonkey, TraceMonkey and JSC treat the case where no delete count is
|
|
|