The Math.max(item, item, ...) method allows you to find the largest number in a set. You can also apply an array object to the .max() method using Math.max.apply(Math, array). This returns the largest number in the array. The array can contain string representations of numbers such as "26" and "0x1F", but not character strings such as "A". If the array contains character strings, the result will be NaN.