On Sun, Feb 22, 2015 at 4:02 AM, Jeroen Ooms <[email protected]> wrote:
> On Sat, Feb 21, 2015 at 6:59 PM, Flying Jester <[email protected]> 
> wrote:
>> Perhaps if you iterated the global object? That would give you access to all
>> objects that exist in the current scope, if you recursively iterated the
>> objects that the global object has handles to.
>
> I don't think the standard library functions are attached to the
> global object in V8. At least object.keys(global) only shows manually
> created objects.

Object.keys() only returns enumerable properties.
Object.getOwnPropertyNames() returns all 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