This is a small breakdown of how the filter array method works in JavaScript. We write a function that takes in a string and applies filter to the array.
filter