function sum(a, b) { return a + b;}...
[1, 2, 3, 4].reduce((x, y) => console.log(x, y));
function addToList(item, list) { return list.push(item);}...