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.