Creates a copy of an array (or an array-like object) or an object without falsy values.
If this is an array or array-like it will be traversed like an array otherwise it will be traversed like an object.
Optional. Defaults to false. Ordinarilly falsy values will not include empty arrays and empty objects but if this is true both empty arrays and empty objects will be considered falsy and will be excluded in the returned array or object.
If arrOrObj is an array or is an array-like object an array of the objects that were not falsy will be returned. If arrOrObj is not array-like, an object will be returned that only contains the non-falsy values.