everything you can do with reduce javascript code example Example: javascript, reduce const myReduce = myArray.reduce((acc, item) => { acc += item })