How to filter out array elements in JS

How to filter out array elements in JS

More to explore

Based on this image's title: “How to filter out array elements in JS