indexOf(min); let indexMax = arr.indexOf(max); if ((Math.abs(indexMax - indexMin) >= 1) && indexMin < indexMax){ return max - min; ...
確定! 回上一頁