What are the different methods to manipulate the array in JavaScript?
push()andpop()for adding/removing elements from the end.unshift()andshift()for adding/removing elements from the beginning.splice()for adding/removing elements at any position.concat()for merging arrays.map(),filter(),reduce()for functional transformations.