At line 1139, jumpTo() requires an argument named step.
However, on lines 1017, and 1106, it passes the variable, move, into jumpTo function, which is confusing.
I think it's better either change the naming of the argument of jumpTo() (:1139),
or switch the naming of currentValue and index of map() (:1017, :1106)
The below PR goes the second way since I think move is more like representing the "movement", on the other hand, step is understood as a "number" in most cases.
At line 1139,
jumpTo()requires an argument namedstep.However, on lines 1017, and 1106, it passes the variable,
move, intojumpTofunction, which is confusing.I think it's better either change the naming of the argument of
jumpTo()(:1139),or switch the naming of
currentValueandindexofmap()(:1017, :1106)The below PR goes the second way since I think
moveis more like representing the "movement", on the other hand, step is understood as a "number" in most cases.