Declare the |j| variable before use in lib/utils/arrays.js

Until now it was inadvertently global.
redux
David Majda 11 years ago
parent 24394e3f91
commit f457c41dd4

@ -3,7 +3,7 @@ var arrays = {
range: function(start, stop) {
var length = stop - start,
result = new Array(length),
i;
i, j;
for (i = 0, j = start; i < length; i++, j++) {
result[i] = j;

Loading…
Cancel
Save