https://bugzilla.wikimedia.org/show_bug.cgi?id=20376
Daniel Friesen <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mediawiki-b...@nadir-seen- | |fire.com Severity|enhancement |minor Status|NEW |RESOLVED Resolution| |FIXED --- Comment #2 from Daniel Friesen <[email protected]> 2009-08-24 17:22:57 UTC --- Fixed r55555. I wouldn't really consider it debatable, for..in is for object iteration, for(var i..., arr.forEach are for array iteration, any good js developer will tell you that. for..in and for each..in aren't acceptable for array iteration unless you are in a server environment with an iterator on the array to make it behave right like I am. It's a shame we don't have some moz/ES5 compat methods in though, then we could happily use ES5's .forEach() in code which moz already has native support for. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
