1 line of code: How to check if an Array is empty
const isEmptyArray = ({ length }) =&gt; length === 0;        Enter fullscreen mode            Exit...
Tags: javascript, webdev, productivity, codequality