1 line of code: How to clean an Array of "falsy" items
const cleanFalsy = arr =&gt; arr.filter(Boolean);        Enter fullscreen mode            Exit...
Tags: javascript, webdev, productivity, codequality