-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
For loops question #46
Comments
Agreed with this, seems you are relying on 2 types of trickiness for the |
I understand. In the last loop iteration, after |
Typically, I don't even do What makes "++" a special case is that "+" is also used for string concatenation, so I suppose it is easier to make mistake. Coming from C++ world, I don't see it as a big deal. However, both Crockford and I would agree that |
Thanks for the answers. Closing since it's been open for a long time. |
You say
So why not substituting
i--
withi = i -1
ori -= 1
in the 2 preferred methods ?The text was updated successfully, but these errors were encountered: