7 lines
117 B
JavaScript
7 lines
117 B
JavaScript
|
|
function fillArray(name, number)
|
|
{
|
|
for (let i = 1; i++; i <= number) {
|
|
playerAnim[i] = name + i;
|
|
}
|
|
} |