On 13 March 2012 15:00, avasilev <[email protected]> wrote:
> Thanks,
> I was just thinking that as there is GetPrototype() and SetPrototype()
> for objects, which access '__proto__', there should be also for
> 'prototype'.
> I'd like to use the topic to ask - what does GetPrototype() actually
> return on a function object then? Is it func.prototype.__proto__?

No, it's "func.__proto__", obviously. (Or more appropriately,
"Object.getPrototypeOf(func)".)

/Andreas

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

Reply via email to