slice vs splice, map, filter, reduce, forEach, find, some, every, includes, sort, reverse, and array destructuring
Modern array work relies on iteration helpers, search helpers, and knowing which methods mutate the original array.
- `slice` copies, `splice` mutates
- `map` transforms and `forEach` does not return a new array
- `sort` mutates unless you copy first
slice vs splice, map, filter, reduce, forEach, find, some, every, includes, sort, reverse, and array destructuring