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