Repeat something n times
n
times((index, count) => index / count, 5);// [0, 0.2, 0.4, 0.6, 0.8] Copy
times((index, count) => index / count, 5);// [0, 0.2, 0.4, 0.6, 0.8]
Repeat something
n
times