Created
December 13, 2022 14:38
-
-
Save brunos3d/82b6238a8e5517083872381e1ace1537 to your computer and use it in GitHub Desktop.
How to quickly filter out falsy values from an array
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
arrayWithFalsyItems.filter(Boolean) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment