const average = (...args) => args.reduce((a, b) => a + b) / args.length;
​
​
average(99, 45, 26, 7, 11, 122, 22).toFixed(2); 
​
//47.43