JavaScript: Array Methods Cheatsheet

Tim Han
4 min readMar 13, 2019

Here is a list of most common array methods in JavaScript.

// Mutating
push() // Insert an element at the end
pop() // Remove an element from the end
unshift() // Inserts an element in the beginning
shift() // Remove first element
// Iterating
forEach() // Iterates an array
filter() // Iterates an array and result is filtered array
map() //…