Updates:
Status: Accepted
Labels: Type-Bug
Comment #1 on issue 1353 by [email protected]: Data corruption by
calling generic Array methods in the context of a String object
http://code.google.com/p/v8/issues/detail?id=1353
The first half is correct behavior (specification-wise), although the
ordering of the properties is a little odd. The push simply adds s[5]="X"
and fails to change the length.
The result after shifting, on the other hand, is definitely wrong. It seems
to be adding elements duplicating the special string character element
indices.
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev