I appreciate your answer. ^^ 2013년 1월 15일 화요일 오후 6시 20분 38초 UTC+9, Matthias Ernst 님의 말: > > args[0].As<v8::Array>() > > > > On Tue, Jan 15, 2013 at 3:16 AM, amourfou <[email protected]<javascript:> > > wrote: > >> 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] <javascript:> >> http://groups.google.com/group/v8-users > > >
-- v8-users mailing list [email protected] http://groups.google.com/group/v8-users
