JavaScript

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