結果 : math max apply javascript