There is some nastiness in there---somehow hole propagates in for-in
loop.  Let me have a quick look.

yours,
anton.

On Tue, Oct 5, 2010 at 1:28 PM, Sebastian Morawietz
<[email protected]> wrote:
> This is actually from testcc/test-api.cc (Line 1782)
>
>  v8::HandleScope scope;
>  LocalContext context;
>  Local<v8::Array> array = v8::Array::New();
>  CHECK_EQ(0, array->Length());
>  CHECK(array->Get(0)->IsUndefined());
>  CHECK(!array->Has(0));
>  CHECK(array->Get(100)->IsUndefined());
>  CHECK(!array->Has(100));
>  array->Set(2, v8_num(7));
>  CHECK_EQ(3, array->Length());
>
> Here, the Array actually seems to be used in an autoresizing
> fashion....?
>
> --
> v8-users mailing list
> [email protected]
> http://groups.google.com/group/v8-users
>

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

Reply via email to