Updates:
Status: Accepted
Comment #4 on issue 1028 by [email protected]: [ECMA compliance]
RangeError in Array ctor.
http://code.google.com/p/v8/issues/detail?id=1028
The problem is not in creating the array, but in converting it to a string.
Try "var a = new Array(4294967200);" instead, which creates the array, but
doesn't try to print it as the result of the expression.
We are not handling very large sparse arrays properly when the separator is
not empty.
In this case, some exception should be thrown, because the resulting string
is too large (we limit strings to 2^29 in length, and flat strings to 2^28,
IIRC).
The error message isn't correct here, but is probably related to some
internal array used in the conversion.
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev