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