I saw the explanation of Array.from() on MDN, and at the bottom there is a code block like this below:
const range = (start, stop, step) => Array.from({ length: (stop - start) / step + 1}, (_, i) => start + (i * step));
I did not understand why parameter can be like (_, i)
, can somebody explain that to me?