- Add to original:
.push(end).unshift(start)
- Remove from original:
.pop(end).shift(start).splice(any)
- Others:
.reverse.sort.fill
- Computed form original:
.map(loop)
- Filtered using condition:
.filter
- Portion of original:
.slice
- Adding original to other:
.concat
- Flattening the original:
.flat.flatMap
- Based on value:
.indexOf
- Based on a condition:
.findIndex
- Based on a condition:
.find
- Based on value:
.includes
- Based on a condition:
.some.every
- Based on a separator:
.join
- Based on accumulator:
.reduce(reduce the whole array into a single value of any type: number, string, boolean, new array or object)
- Based on callback:
.forEach