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