Math.min([value1[, value2[,..
- <!DOCTYPE html>
- <html>
- <head>
- <meta name="viewport" content="width=device-width, initial-scale=1">
- </head>
- <body>
- <h1>Math.min()</h1>
- <input type="button" onclick="min_val();" value="Get Min">
- <script>
- function min_val()
- {
- alert("Min : " + Math.min(3, 4, 5, 6, -5));
- }
- </script>
- </body>
- </html>
How to use Math.min in JavaScript:- Geniusofstudent
Reviewed by Network security
on
July 02, 2019
Rating:
No comments: