const multiply = (...arg) =>{ const result = arg.reduce((x,y)=>{ return y*x } ) return result } console.log(multiply(4,5,5));