Are you using the objecttemplate's setnamedpropertyhandler call? if so,
are you implementing all the callbacks to say that your CONS object doesn't
have a property a?
On Monday, April 3, 2017 at 7:25:25 AM UTC-7, Danny Dorfman wrote:
>
> Hello there,
>
> Is there a way for my interceptor to know that it's running under "with",
> as in this example:
>
> var a = 10;
> with (new CONS()) { do_something(a); }
>
> The problem is, that 'a' is intercepted by the new object, and is rendered
> undefined. I would like it to use the external 'a' instead.
>
> Regards,
> Danny
>
--
--
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
---
You received this message because you are subscribed to the Google Groups
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.