Tablica funkcji z parametrem
const fns = [(i)=>{console.log("first"+i)}, (i)=>{console.log("second"+i)}, (i)=>{console.log("third"+i)}]
fns[0]("XXXXX");
Javasper
const fns = [(i)=>{console.log("first"+i)}, (i)=>{console.log("second"+i)}, (i)=>{console.log("third"+i)}]
fns[0]("XXXXX");