All Questions
1 question
398
votes
17
answers
378k
views
Why avoid increment ("++") and decrement ("--") operators in JavaScript?
One of the tips for jslint tool is:
++ and --
The ++ (increment) and -- (decrement)
operators have been known to contribute to bad code by
encouraging excessive trickiness. They
are second only to ...