DEV Community

Discussion on: How many way to find max number in array on Javascript.

Collapse
trangchongcheng profile image
cucheng

Do you think about this way: array.sort()[0]