DEV Community

Discussion on: The filter(Boolean) trick

Collapse
 
jsn1nj4 profile image
Elliot Derhay

That is a really cool idea. I often forget about passing built-in functions and such as callbacks directly to these methods (and I don't think I thought of chaining array methods either for some reason yet).

Thanks for this!