for statement with index and value
Rick Waldron
waldron.rick at gmail.com
Wed Jul 15 16:15:17 UTC 2015
On Wed, Jul 15, 2015 at 2:21 AM Sebastian Zartner <
sebastianzartner at gmail.com> wrote:
> That only works if all values are distinct. The following will result
> in the wrong index for the last item:
>
Indeed, but useful if the program can reliably know that the array will
contain only unique entries.
Rick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20150715/dc92fde4/attachment.html>
More information about the es-discuss
mailing list