18 lines
343 B
Markdown
18 lines
343 B
Markdown
|
---
|
|||
|
title: Math Min
|
|||
|
localeTitle: 数学敏
|
|||
|
---
|
|||
|
## 数学敏
|
|||
|
|
|||
|
Math.min()函数返回零或更多数字中的最小值。
|
|||
|
|
|||
|
你可以传递任意数量的参数。
|
|||
|
|
|||
|
```javascript
|
|||
|
Math.min(7, 2, 9, -6);
|
|||
|
// returns -6
|
|||
|
```
|
|||
|
|
|||
|
#### 更多信息:
|
|||
|
|
|||
|
[MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/min)
|