The map() method creates a new array with the results of calling a function for every array element. The .map() method takes a function from a user that allows you to modify them and loop through all the items in the array.
array.map(function(currentValue, index, arr), thisValue)
The filter() method creates an array filled with all array elements that pass a test. This method allows you to insert a variable in an array based on conditional variables. This method is similar to the map() method.
array.filter(function(currentValue, index, arr), thisValue)
array.reduce(function(total, currentValue, currentIndex, arr), initialValue)
array.forEach(function(currentValue, index, arr), thisValue)
The find() method returns the value of the first element in an array that passes a test. The find() method is similar to filter() method. The difference between them is just past the first element of value.
array.find(function(currentValue, index, arr),thisValue)
The indexOf() method searches the array for the specified item and returns its position. This is useful to find any variable's position in the program. That is the most used method by developers, programmers, and coders.
array.push(item1, item2, ..., itemX)
The pop() method removes the last element of an array and returns that element. It's like popcorn, first, it removes the element and then returns it. This method is responsible for changing the length of an array.