max

fun Math.max(a: Long, b: Long): Long (source)
Deprecated: Use maxOf or kotlin.math.max instead

Platform and version requirements: JS

Returns the greater of two values.