Like in firefox's JavaScript 1.5

'''callback is invoked with three arguments: the value of the element,
the index of the element, and the Array object being traversed.'''

http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Objects:Array:forEach

I think this small addition will make JavaScript suck less ;)


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MochiKit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/mochikit
-~----------~----~----~----~------~----~------~--~---

Reply via email to