Math.min()
helps us find the smallest number from a group of numbers.
Note that we are passing each number
as an argument to Math.min()
.
We cannot pass an array to Math.min()
.
Each argument passed to Math.min()
can be
a number or a string containing only the number.
Passing any other type of argument will result in NaN
.