highest name length in array javascript code example Example: javascript find the longest string in array Click to copyMath.max(...(x.map(el => el.length)));