find the largest number in a string array javascript code example Example: javascript largest number in array const max = arr => Math.max(...arr);