This method can help you to loop over the array's items.
This method checks if the array includes the item passed in the method.
This method creates a new array with only elements passed condition inside the provided function.
This method creates a new array by calling the provided function in every element.
reduce() method applies a function against an accumulator and each element in the array (from left to right) to reduce it to a single value - MDN
This method checks if at least one of the array’s items matches the condition. If so, it returns ‘true’ otherwise ‘false’.
This method checks if all items within the array met the criteria. If passed, it returns ‘true’ otherwise ‘false’.
This method used to arrange/sort the arrays items in either ascending or descending order.
This changes all things that are array-like or iterable into true array especially when working with DOM, so that you can use other array methods like
filter() and so on.
Working with the DOM
This creates an array from every argument passed into it.