See also http://bonsaiden.github.com/JavaScript-Garden/#array
It's a short read and explains very well what's wrong and why (and what to do instead). It is not mootools-specific, but basic JavaScript bad/best practices knowledge condensed in a single page. moo's Array.each() is moo' helping you shorten/simplify the hasOwnProperty solution mentioned on said page. Met vriendelijke groeten / Best regards, Ger Hobbelt -------------------------------------------------- web: http://www.hobbelt.com/ http://www.hebbut.net/ mail: [email protected] mobile: +31-6-11 120 978 --------------------------------------------------
