Status: New
Owner: ----

New issue 1256 by [email protected]: v8::Array::New() ignores length argument
http://code.google.com/p/v8/issues/detail?id=1256

If a length argument is passed to v8::Array::New(), calling Length() on the new array still returns 0. See testcase in attachment.

This is only an issue with the C++ API; on the JS side, "new Array(123).length" works as expected.

The case of passing length >0 to v8::Array::New() doesn't appear to be covered by test-api tests, so I don't know what the intended behavior is.

Attachments:
        main.cpp  387 bytes

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

Reply via email to