Learn how `Array.filter` works by learning how to write it yourself. It's almost as powerful as `map` and used ubiquitously throughout code.

We'll cover the following


The idea here is similar to, except instead of transforming individual values, we want to filter existing values. Without any functions (besides Array.push), say we want to filter out values in an array that are less than 5:


Get hands-on with 1200+ tech skills courses.