获取数组最小值

  function getMin(qwe){
        return qwe.slice(0).sort(function(a,b){return a-b})[0];
    }

相关文章: