I'm currently learning ES6 at JavaScript.info, and it says about the increment/decrement operators:
The prefix form returns the new value while the postfix form returns the old value (prior to increment/decrement)...
If we’d like to increase a value and immediately use the result of the operator, we need the prefix form...
If we’d like to increment a value but use its previous value, we need the postfix form.
But I'm confused as to when it would ever be necessary to use the previous value of a variable after it's been incremented? Would it be safe to assume that wherever it is, these are edgecases and the prefix form ++counter should almost always be preferred, or is there actually a good reason that the postfix counter++ form is more commonly seen out in the wild?