Array property of custom object

Mihai Dobrescu <[email protected]>
Newsgroups gmane.comp.mozilla.devel.jseng
Message-ID <[email protected]>
Hi,

I have created custom objects with methods and simple properties.
Now, I need to define a property of array type. How could this be done?
Is there an api? I naturally expect to access in javascript o.arr[i]. Should I create a custom object for this too?

Thanks.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.