How to find the minimum number in JavaScript

 
In JavaScript you can use the min() method that returns the number with the lowest value.
You can use math.min function like as:
Math.min(number1, number2. . . ,numberN)

where number1, number2. . . ,numberN are the optional arguments If no arguments are given, the return result is +Infinity

Example:

<html>
  <head>
    <title>How to use math.min in javascript</title> </head>
      <body>
          <script type="text/javascript" language="javascript">
               var MinNum = Math.min(14,99,8,46);
               document.write(MinNum );
          </script>
      </body>
</html>