longest
longest copied to clipboard
Get the length of the longest item in an array.
Results
4
longest issues
Sort by
recently updated
recently updated
newest added
use `void 0` to replace 'undefined' for prevent rewrite. ![image](https://user-images.githubusercontent.com/25844786/37702676-4564a264-2d2e-11e8-8752-f14a20fc7702.png)
add typescript support for longest
Given the following array: `['hello', 'hellohello1','hello', 'hellohello2']` _longest_ would return `'hellohello1'`, even though there are two 11-chars elements. I would suggest adding a optional argument* that would allowed returning an...