Array Methods
Definition
Built-in methods on the Array prototype for transforming and querying arrays. Key methods include `map` (transform each element), `filter` (select elements), `reduce` (accumulate), `find` (first match), `some`/`every` (boolean tests), and `sort`.
Code Example
Javascript
Tip: Modify the code above and click “Run” to see the results
Learn More
Related Terms
Spread Operator
The ... syntax that expands an iterable (array, string, object) into individual elements. Used for copying arrays/objects, merging, and passing multiple arguments to functions.
Higher-Order FunctionA function that either takes one or more functions as arguments, returns a function, or both. Common examples include map, filter, reduce, and forEach.