// MULTIPLY FUNCTION
const multiply = (num1, num2) => {
return num1 * num2;
};
let resulMultiply = multiply(4, 5);
console.log(resulMultiply);
// 20
function mulitply(a,b){return a *b}
const multiply = (...arg) =>{
const result = arg.reduce((x,y)=>{
return y*x
}
)
return result
}
console.log(multiply(4,5,5));