Last updated
⚠️ This is not a builtin function.
average() is an array method, not a standalone function. See Array aggregating methods.
[10, 10, 5, 3, 5].average()
// 6.6
[2, 5].average()
// 3.5Call .average() on an array to find the mean average of all the values in that array.
Last updated