DEV Community

loading...

Discussion on: Slice in JavaScript

Collapse
functional_js profile image
Functional Javascript

Nice refresher Suprabha.

Here are two lists that people may find useful:

mutator array methods:

push (back add)
pop (back remove)
unshift (front add)
shift (front remove)
splice
sort
reverse
fill
forEach

non-mutator array methods:

concat
join
filter
slice
map
reduce
find
findIndex
some
every
includes
flat
flatMap

Forem Open with the Forem app