DEV Community

loading...

Discussion on: Filtering Arrays Like A Pro

Collapse
franky47 profile image
François Best

I agree with the weird part. Some of these tricks might look clever, but your future self/colleague/contributor/whoever reads this code in the near/far future may not know the trick, or have forgotten about it, and this will not look professional.

Want to filter like a pro? Write simple code.