2 ms·
This looks very much like the mistake in javascript with callbacks in for loops.
by thereare5lights 6y ago
This looks very much like the mistake in javascript with callbacks in for loops.
- panopticon 6y agoNote that using `let` instead of `var` in your for-loop fixes this in JavaScript (ignoring IE's faulty implemention of `let`).