freeCodeCamp/guide/chinese/javascript/standard-objects/math/math-min/index.md

18 lines
343 B
Markdown
Raw Normal View History

---
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)