记录下与Math有关的常用方法,如:求最大值.最小值等,或者是保留几位数啥的 1.数据 let floatA = 2.325232; let floatB = 2.3456; let temporaryArray = [1, 2, 5, 6, 3]; let minusNum = -12; let minusFloat = -12.321; let intA = 10; let min, max, num; 2.求最大值.最小值 { /* 求最小值 */ min = Math.min(float…