Re: Array property of custom object
Boris Zbarsky <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.jseng |
|---|---|
| Message-ID | <[email protected]> |
On 5/3/16 12:45 PM, Mihai Dobrescu wrote: > Isn't there a generic trap for that in order to know the current item accessed? Proxies have getOwnPropertyDescriptor, yes. But to even get to that point you have to have some other bits in place if you're doing for-in or for-of. Again, a proxy can do all the relevant bits. -Boris