Khan/khan-exercises — comment on commit 5b9e8f219d562b5445724237b6f76bf408d6525f
File: khan-exercise.js line 78
By divad12:

nit: I think you could count down, ie.

for (var i = localStorage.length - 1; i >= 0; --i) {
// ...
}

Then you don't need to change `i` within the loop body, and also don't need to look up `.length` on each iteration.