In the following source codes, if args[0] is array object, let me know how to convert it to v8::Array or handle it.
... Test(const v8::Arguments& args)
{
...
if (args[0]->IsArray() == true)
{
// ??
}
}
The following is script codes.
var a = new Array(5);
a[0] = 1;
a[1] = 2;
a[2] = 3;
a[3] = 4;
a[4] = 5;
Test(a);
--
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
