Learn JavaScript map, filter, and reduce with runnable examples. Transform, filter, and aggregate arrays with the three most common higher-order array methods.
Open this example in the TryJS playground to edit and run the code instantly in your browser — no signup needed.