I often see filter calls that needlessly fall back to an empty array
I often see filter calls that needlessly fall back to an empty array.
It's unnecessary.
JavaScript's array.filter always returns an array.
Even when the array being filtered is empty.
Even when the filter finds no results.
Example:
