CCDictionary,CCArray,std::map,std::vector,what would these container convert to by using javascript-binding?

I have a function in c++ like:

   CCArray* someFunction(CCArray* children);

I generate a javascript binding class,and Then I have two questions:
1.what kind of parameters I should transfer in javascript?
2.What kind of container I should use to receive the return data in JS, []?
What if replace CCArray with other container?
Thanks in advance

You should use js array—[] transfer in js,and you will receive js array for retun data.

Yes,I have resolved this issue. thanks.