I\'m wanting to write a function to filter objects of an array on some condition. I know that when you pass an array to a function, the changes you make to the array inside the