結果 : find maximum and minimum element in an array in javascript