1 line of code: How to get the shortest string of an Array
const shortestString = arr =&gt; arr.reduce((prev, curr) =&gt; prev.length &lt; curr.length ?...
Tags: javascript, webdev, performance, codequality