[].every(fn)
Checks if all elements in an array pass a test.[].some(fn) | [].includes(fn)
Checks if any of the elements in an array pass a test.[].find(fn)
Returns the value of the first element in the array that passes a test.[].filter(fn)
Creates an array filled with only the array elements that pass a test.[].map(fn)
Creates a new array with the results of a function applied to every element in the array.[].reduce(fn(accumulator, currentValue))
Executes a provided function for each value of the array (from left-to-right). Returns a single value, the accumulator.[].sort(fn(a,b))
warning, mutates state!Modifies an array by sorting the items within an array. An optional compare function can be used to customize sortbehavior.[..arr].sort()
Use the spread operator to avoid mutation.[].reverse()
warning, mutates state!Reverses the order of the elements in an array. Use the spread operator to avoid mutation. [..arr].reverse()