Dan*_*Dan 7

你想取8000的对数.JS有Math.log使用base 的函数e,你想要base,2所以你可以写入Math.log(8000) / Math.log(2)得到8000 base 2的对数,它等于x.