how to declear an error to Finding the longest string in an array in JavaScript code example Example: javascript find the longest string in array Math.max(...(x.map(el => el.length)));