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

343 B
Raw Blame History

title localeTitle
Math Min 数学敏

数学敏

Math.min函数返回零或更多数字中的最小值。

你可以传递任意数量的参数。

Math.min(7, 2, 9, -6); 
 // returns -6 

更多信息:

MDN