Issue 33: API method to enumerate properties http://code.google.com/p/v8/issues/detail?id=33
Comment #4 by nicolas.alvarez: Why would the object change during iteration? In any case, the solution is simple. "If you modify an object while iterating over its its properties, you get to keep the pieces." Make the operation undefined. Standard STL containers don't work very well either if you change stuff while iterating. A std::vector, for example, may have to resize itself if you add elements, making all existing iterators invalid. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings --~--~---------~--~----~------------~-------~--~----~ v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev -~----------~----~----~----~------~----~------~--~---
