結果 : min max from array javascript