Status: New
Owner: ----

New issue 1081 by [email protected]: arguments and Array.prototype.splice
http://code.google.com/p/v8/issues/detail?id=1081

Given this method:
var test = function (value) {
        console.log(value);
        Array.prototype.splice.call(arguments).shift();
        console.log(value);
};

When you call it the first time console.log is called the console shows the correct value yet the second time it says 'undefined'.

The issue is both in Chrome (8.0.552.237) and in nodejs. There's no problem in Firefox.

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to