function fillArray(name, number) { for (let i = 1; i++; i <= number) { playerAnim[i] = name + i; } }