Closed naslundx closed 2 years ago
jshint warns about "confusing semantics", this fixes most of those errors.
Source: https://stackoverflow.com/questions/46027262/functions-declared-within-loops-referencing-an-outer-scoped-variable-may-lead-to
Didnt test it, but looks good if it still works. It might conflict with your other PR's though.
jshint warns about "confusing semantics", this fixes most of those errors.
Source: https://stackoverflow.com/questions/46027262/functions-declared-within-loops-referencing-an-outer-scoped-variable-may-lead-to