🌈 搜索
📅  最后修改于: 2022-03-11 15:01:09.446000             🧑  作者: Mango
function average(nums) { // nums.length is the important part return nums.reduce((a, b) => (a + b)) / nums.length; }