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

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter