shichuan/javascript-patterns — pull request #59 by andrewheins (2012-04-27 19:06:29+00:00)
Title: Small error in optimized while loop

Trying to do something with myarray[i] when i is out of bounds of array doesn't work. Use i - 1 in assignment.