結果 : how to find minimum and maximum value in array in javascript