Re: [v8-users] Named property handler as fallback only

2014-11-14 Thread Avery Fay
Thanks! That sounds like a good workaround. Avery On Fri, Nov 14, 2014 at 7:13 AM, Ben Noordhuis wrote: > On Fri, Nov 14, 2014 at 2:04 AM, Avery Fay wrote: > > Is there a way to use SetNamedPropertyHandler on an ObjectTemplate such > that > > Object's created using

[v8-users] Named property handler as fallback only

2014-11-13 Thread Avery Fay
Is there a way to use SetNamedPropertyHandler on an ObjectTemplate such that Object's created using the template will first check for explicitly set properties before falling back to the handler? if not, is there a workaround that doesn't involve creating a key/value data structure as part of the