Testing to see which one is faster
pre-increment wins... barely
dave @ [ manilla :: (Darwin) ] ~ $ time node -e 'var a = 0; for (var i = 0; i < 1 * 1000 * 1000 * 1000; ++i) a++;'
real 0m3.904s
user 0m3.883s
sys 0m0.032s
dave @ [ manilla :: (Darwin) ] ~ $ time node -e 'var a = 0; for (var i = 0; i < 1 * 1000 * 1000 * 1000; ++i) a++;'
real 0m3.871s
user 0m3.851s
sys 0m0.032s
dave @ [ manilla :: (Darwin) ] ~ $ time node -e 'var a = 0; for (var i = 0; i < 1 * 1000 * 1000 * 1000; ++i) a++;'
real 0m3.907s
user 0m3.884s
sys 0m0.035s
dave @ [ manilla :: (Darwin) ] ~ $ time node -e 'var a = 0; for (var i = 0; i < 1 * 1000 * 1000 * 1000; ++i) ++a;'
real 0m3.756s
user 0m3.736s
sys 0m0.031s
dave @ [ manilla :: (Darwin) ] ~ $ time node -e 'var a = 0; for (var i = 0; i < 1 * 1000 * 1000 * 1000; ++i) ++a;'
real 0m3.753s
user 0m3.736s
sys 0m0.031s
dave @ [ manilla :: (Darwin) ] ~ $ time node -e 'var a = 0; for (var i = 0; i < 1 * 1000 * 1000 * 1000; ++i) ++a;'
real 0m3.664s
user 0m3.652s
sys 0m0.031s