Using the prefix increment operator is somewhat faster. With the postfix, the compiler must retain the previous value as the result of the expression.
for (var i = 0; i < n; ++i) {
do_stuff();
}
A smart interpreter or compiler will see that the result of i++ is not used and not store the result of the expression, but not all js engines do.