On Sun, Feb 1, 2015 at 12:42 PM, Danny Dorfman <[email protected]> wrote:
> Ben, I am afraid that if you substitute GetPropertyNames() with
> GetOwnPropertyNames(), the array will have 0 entries (tried that just now).

Sorry about that.  Your original post mentioned that you were trying
to write a deep-copy function for objects, but I see now that your
example uses the global object specifically.

The global object is special, it's a kind a proxy for the real global
object.  Its prototype is where you will find the properties.

-- 
-- 
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.

Reply via email to