That was my gut reaction, but, I think that it's an example of explicit use of a new Iterator interface, a way to make any object work with for in .
But, I didn't read it that closely. It took 6-8 years to get to get JavaScript and DOM stable enough for our current applications. I'm not holding my breath on JavaScript 1.7. * [EMAIL PROTECTED] <[EMAIL PROTECTED]> [2006-12-18 14:31]: > That Mozilla design is terrible: people should *NOT* use exceptions for > flow control!!!!! Exceptions are designed to be exceptional and > expensive.. > > --Jacob > > > This is pretty cool stuff. Not widely available yet, but it's in FF2.0. > > > > http://developer.mozilla.org/en/docs/New_in_JavaScript_1.7#Iterators > > > > On 12/17/06, John Beppu <[EMAIL PROTECTED]> wrote: > >> I hope future versions of Javascript give us better ways to iterate. > >> > >> for-in is what's really broken. > >> > > > > _______________________________________________ > > jQuery mailing list > > discuss@jquery.com > > http://jquery.com/discuss/ > > > > > > _______________________________________________ > jQuery mailing list > discuss@jquery.com > http://jquery.com/discuss/ -- Alan Gutierrez - 504 717 1428 - [EMAIL PROTECTED] - http://blogometer.com/ Think New Orleans - http://thinknola.com/ _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/