結果 : get max of array javascript