My bad. I mistook your question for how to iterate through an array.
To iterate through the values of an object you could implement an
iterator that accesses the underlying data structure directly, but
that requires going beyond the v8 api...

Yang

On Nov 18, 4:51 pm, Roman Shtylman <[email protected]> wrote:
> That will only give you the name of the property, if you want the value you
> still have to get it from the object. What I really want is a c++ style
> iterator to return a pair of key/value to avoid creating a temporary array
> of keys as well as doing another lookup to get the value.

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

Reply via email to