19 lines
328 B
Markdown
19 lines
328 B
Markdown
---
|
|
title: Math Min
|
|
---
|
|
## Math Min
|
|
|
|
The Math.min() function returns the smallest of zero or more numbers.
|
|
|
|
You can pass it any number of arguments.
|
|
|
|
```javascript
|
|
Math.min(7, 2, 9, -6);
|
|
// returns -6
|
|
```
|
|
|
|
#### More Information:
|
|
[MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/min)
|
|
|
|
|