max

fun max(vararg values: CSSNumberish): CSSNumericValue(source)

The max() method of the CSSNumericValue interface returns the highest value from among the values passed.

MDN Reference