After experimenting with the use of "i++" and "++i" I could not find a difference between their results when used in a 'for' loop. For example:
for (var i = 0; i < 10; ++i) {
console.log(i);
}
would yield:
0
1
2
3
4
5
6
7
8
9
Shouldn't it be printing out the numbers from 1 to 10, as the iterator is being incremented before console.log(i)
executes?