Bug 1577606 Comment 3 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

Thanks Jorg for catching that.  I did `i > 0` when I should have done `i >= 0`.  Fixed in patches I'm about to upload.  I'll be more careful with these atypical for loops.  That tricky thing where `--i` is not the same as `i--` is why D. Crockford recommends always just using `i -= 1`.  Avoid the footguns.
Thanks Jorg for catching that.  I did `i > 0` when I should have done `i >= 0`.  Fixed in patches I'm about to upload.  I'll be more careful with these atypical for loops.  That tricky thing where `--i` is not the same as `i--` is why D. Crockford recommends always just using `i -= 1`.  Avoid the footguns.  Maybe that's what threw me.

Back to Bug 1577606 Comment 3