CompSci student
Trying to improve
all variables are undefined until they get defined, and a for of is just shorthand, it still has three separate operations (define current, index into map and set current), it will be undefined on the first iteration until entering the loop
all variables are undefined until they get defined, and a for of is just shorthand, it still has three separate operations (define current, index into map and set current), it will be undefined on the first iteration until entering the loop