4 ms·
Yes, that annoys me every time I see it. One other example that is often used is `someArray.filter(Boolean)`. While that will likely never break, it absolutely
by uallo 6y ago
Yes, that annoys me every time I see it. One other example that is often used is `someArray.filter(Boolean)`. While that will likely never break, it absolutely could.
Thanks for writing this. It's bookmarked and will share it with my team when necessary.
- ragnese 6y agoHow could it break? If `Boolean` (which is basically just a casting function, right?) changed its signature? That does sound very unlikely.