📅  最后修改于: 2022-03-11 15:01:22.509000             🧑  作者: Mango
const findLongest = words => Math.max(...(words.map(el => el.length)));
// Example
findLongest(['always','look','on','the','bright','side','of','life']); // 6