Here are some of the main methods to manipulate arrays in JavaScript:
push(): adds one or more elements to the end of an array and returns the new length of the array.pop(): removes the last element of an array and returns that element.shift(): removes the first element of an array and returns that element.unshift(): adds one or more elements to the beginning of an array and returns the new length of the array.splice(): adds or removes elements from an array and returns the removed elements.slice(): creates a new array with a copy of a portion of an existing array.concat(): creates a new array by merging multiple arrays or values.map(): creates a new array by calling a provided function on every element in the original array.filter(): creates a new array with all elements that pass a provided test function.sort(): sorts the elements of an array in place and returns the sorted array.reverse(): reverses the order of the elements in an array in place and returns the reversed array.reduce(): applies a function against an accumulator and each element in the array to reduce it to a single value.forEach(): calls a provided function once for each element in an array in the order they appear.find(): returns the value of the first element in an array that satisfies a provided test function.findIndex(): returns the index of the first element in an array that satisfies a provided test function.
These are some of the most common methods for manipulating arrays in JavaScript. Depending on the specific use case, other methods such as every(), some(), and indexOf() may also be useful.