filmov
tv
JavaScript Array Methods - filter() - Truthy and Falsy

Показать описание
#javascript #array #filter #coding #learnjavascript
With the filter() method of Arrays in JavaScript, we can technically use any truthy or falsy value to indicate if it should be included or not. But while we could do this, maybe we shouldn't? (Readability, edge case bugs, etc...)
For educational and entertainment purposes only. Nothing in this video constitutes investment, financial, tax, legal, or accounting advice. Video may not be accurate in the future. Links may include affiliate commissions or referrals.
With the filter() method of Arrays in JavaScript, we can technically use any truthy or falsy value to indicate if it should be included or not. But while we could do this, maybe we shouldn't? (Readability, edge case bugs, etc...)
For educational and entertainment purposes only. Nothing in this video constitutes investment, financial, tax, legal, or accounting advice. Video may not be accurate in the future. Links may include affiliate commissions or referrals.