function sum(arr) { let s = 0; for(let i of arr){ s += i } return s } sum([ 1, 2, 3,&...