// sum of all number function sum(){ let InValue =0 for (let index = 0; index < arguments.length; index++) { InValue +=arguments[index]; } console.log(`Total sum of all number is = ${InValue} `); } sum(10,10,10);