Re: Array property of custom object
Mihai Dobrescu <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.jseng |
|---|---|
| Message-ID | <[email protected]> |
On Monday, May 2, 2016 at 11:14:01 AM UTC+3, Boris Zbarsky wrote: > On 4/30/16 1:41 PM, Mihai Dobrescu wrote: > > Now, I need to define a property of array type. How could this be done? > > Other than with JS_NewArrayObject and JS_DefineProperty? Why do those > not do what you want? > > -Boris So, to be clear, I would expect to have a callback with the index of the array as parameter too... I guess here starts my confusion?