Status: New
Owner: ----

New issue 929 by [email protected]: String.split(sep, limit) does not take limit into account when separtor is empty
http://code.google.com/p/v8/issues/detail?id=929

From issue chromium:62551,
---
console.assert('123'.split('', 2).length == 2); // 3 in V8
console.assert('1234567'.split('', 2).length == 2); // 7 in V8
console.assert('123'.split('', 0).length == 0); // 0 in V8
---

I see in source that it ignores limit if separator_length === 0.

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

Reply via email to