i.e. If you iterate through the array and compose a new array of objects to keep, instead of objects to ...
stackoverflow.com