var ITERATIONS = 200000; var sum = 0; var i = 0; do { sum += i; i++; } while (i < ITERATIONS); sum