徐总多门店
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

14 lines
302 B

var helperCreateMinMax = require('./helperCreateMinMax')
/**
* 获取最小值
*
* @param {Array} arr 数组
* @param {Function} iterate(item, index, obj) 回调
* @return {Number}
*/
var min = helperCreateMinMax(function (rest, itemVal) {
return rest > itemVal
})
module.exports = min