Convert longest string in array

JavaScript
const findLongest = words => Math.max(...(words.map(el => el.length)));

// Example
findLongest(['always','look','on','the','bright','side','of','life']);  // 6
Source

Also in JavaScript: