Javascript max() function for 3 numbers

前端 未结 5 2235
一整个雨季
一整个雨季 2020-12-09 07:40

I need to find the highest number from 3 different numbers. The only thing I\'ve found is max() but you can only use 2 numbers.

Whats the best way?

5条回答
提交回复
热议问题