Set iterators

Andrea Giammarchi andrea.giammarchi at gmail.com
Tue Feb 14 00:06:04 PST 2012


Map and Set do not use an index to be accessed then the iterator send the
index of the key/value as last argument ... I would say either this index
is not sent at all or, since present, should be specified somehow in the
spec.

talking about this

Map#iterate(callback:Function, context:void*):void ==>
callback.call(context, key, value, index)

br
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20120214/1a3b5d1f/attachment.html>


More information about the es-discuss mailing list