結果 : how to find max and min value in array using javascript