let playerAnim = []; let tomAnim = []; function fillArrays() { fillArray("fuchs_", 8, playerAnim); fillArray("tom_", 3, tomAnim); }