...

/

Filter

Filter

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

Array.filter

The idea here is similar to Array.map, except instead of transforming individual values, we want to filter existing values. Without any functions (besides ...