I've missed that one - I always thought of it returning only info about
'writable, configurable and enumerable' forgetting about the 'value' part...

Thanks for the pointer.


2012/10/8 Erik Arvidsson <[email protected]>

> On Thu, Oct 4, 2012 at 7:52 PM,  <[email protected]> wrote:
> > 3. I couldn't save reference to the XXX.prototype.(compare|format).
> > Those are getters and I couldn't find a way to get to it without
> > executing it, which then fails.
>
> You should be able to do Object.getOwnPropertyDescriptor to get the
> getter/setter functions.
>
> --
> erik
>



-- 
Nebojša Ćirić

-- 
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to