Hello Ben,
Actually, I was expecting the current value to be there. As Jochen 
mentioned below, it's only valid if it's been previously set within the 
interceptor.
Is there a way to know the *real* current value before it's overwritten?
D.

On Monday, June 27, 2016 at 12:24:57 PM UTC+3, Ben Noordhuis wrote:
>
> On Sun, Jun 26, 2016 at 3:04 PM, Danny Dorfman <wilder...@gmail.com 
> <javascript:>> wrote: 
> > Hi there, 
> > 
> > I am writing some interceptor code for my objects, and I was wondering, 
> > whether it was possible to know, 
> > what is the current value for the property, before it's overwritten by 
> > args.GetReturnValue().Set(whatever). 
> > 
> > I need something like args.GetReturnValue().Get(), but there is no such 
> > method. 
>
> A Get() method was added a few months ago.  It's available in V8 5.2. 
>

-- 
-- 
v8-users mailing list
v8-users@googlegroups.com
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 v8-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to