結果 : get max of an array javascript