题解 | #数组求和#
数组求和
http://www.nowcoder.com/practice/cc3ce199461c4c4cb8f63db61d7eba30
function sum(arr) { return arr.reduce((a, b) => a+b) }
数组求和
http://www.nowcoder.com/practice/cc3ce199461c4c4cb8f63db61d7eba30
function sum(arr) { return arr.reduce((a, b) => a+b) }
相关推荐