Получите среднее количество числа
const average = (...array) => array.reduce((a, b) => a + b) / array.length
average(21, 56, 23, 122, 67)
//57.8
Rich Rhinoceros
const average = (...array) => array.reduce((a, b) => a + b) / array.length
average(21, 56, 23, 122, 67)
//57.8