http://codereview.chromium.org/618002/diff/1/3 File src/builtins.cc (right):
http://codereview.chromium.org/618002/diff/1/3#newcode533 src/builtins.cc:533: // Not conformant, but that's the way it is currently. This is also what Safari does. http://codereview.chromium.org/618002/diff/1/3#newcode548 src/builtins.cc:548: // but current implementation behaves differently. This is also Safari compatible. (Arguably it's also consistent with slice and with String's substring when omitting the second parameter). http://codereview.chromium.org/618002 -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
