.filter() (JavaScript)

.filter() creates a new array containing only the elements that pass a test you provide. The original array is left unchanged.