On Thu, Jun 11, 2009 at 10:42 AM, Thomas Broyer <t.bro...@gmail.com> wrote:
> On 11 juin, 16:11, John Tamplin <j...@google.com> wrote: > > On Thu, Jun 11, 2009 at 7:51 AM, Joel Webber <j...@google.com> wrote: > > > +1 Ray. Now here's the really tricky question. Is there any way we can > take > > > advantage of Javascript's "for (x in y) { ... }" syntax (and should we, > > > given its spotty performance)? My intuition tells me that the only way > we > > > could use it would be through a callback, because there's nothing like > .NET > > > generators/yield in Javascript. > > > I'm afraid I don't understand the relationship between JsArray/ > JsArrayList and for (x in y) { ... } > I was thinking more of a Map implementation to iterate over the key set. -- John A. Tamplin Software Engineer (GWT), Google --~--~---------~--~----~------------~-------~--~----~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~----------~----~----~----~------~----~------~--~---