結果 : get min of array javascript