Re: Upgrading from Spidermonkey 1.8.5 to 45. How to get property name in getters/setters now they are JSNatives and tiny IDs have been removed?
Boris Zbarsky <[email protected]> Mon, 5 Jun 2017 09:26:52 -0400
| Newsgroups | gmane.comp.mozilla.devel.jseng |
|---|---|
| Message-ID | <[email protected]> |
On 6/5/17 5:31 AM, Miles wrote: > How can I find out which property I am getting/setting? You _could_ examine the callee function name in your JSNative, but just using different functions for different properties is probably better. -Boris