JavaScriptJavaScript · Lesson 07

Arrays & Array Methods

map, filter, reduce, find, sort, spread and destructuring.

Video tutorialTrack course · freeCodeCamp
Speed
Next lesson
Watch 00:00 · 1 checkpoints Watch on YouTube More on this topic
Transcript & captions
3/3
MethodReturns
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 answered

Which method reduces an array to one value?