var a = { 1,2,432128 };

var;

对于(var i = 0;i < a.length;i++){
VaR指标= math.log(一个{我}) / math.log(2);
B.push(指数);
}

/ / B = { 0,1,2,5,7 };