Very quick question

What’s the command for choosing the biggest value out of for ex. 5 variables? Math.max(); can only take 2 values.