JavaScriptJavaScript · Lesson 07
Arrays & Array Methods
map, filter, reduce, find, sort, spread and destructuring.
Video tutorialTrack course · freeCodeCamp
Speed
Transcript & captions
3/3
| Method | Returns |
|---|---|
| map() | a new array of transformed items |
| filter() | a new array of matching items |
| reduce() | a single accumulated value |
| find() | the first match or undefined |
| some() / every() | boolean |
| sort() | the array, sorted in place |
| includes() | boolean |
Try it yourself
Knowledge check
0/1 answeredWhich method reduces an array to one value?