- Add to original:
arr.push
arr.unshift
- Remove from original:
arr.pop
arr.shift
arr.splice
- Computed from original
arr.map
- Filtered using condition
arr.filter
- Portion of original
arr.filter
- Adding original to other
arr.concat
- Flattening the original
arr.flat
arr.flatMap
- Based on value
arr.indexOf
- Based on test condition
arr.findIndex
- Based on a text condition
arr.find
- Based on value
arr.includes
- Based on test condition
arr.some
arr.every
- Based on separsator string
arr.join
- Based on accumulator
note: boils down array to single value of any type
arr.reduce
- Based on callback
note: does not create new array, just loops over it
arr.forEach
nice :)