赞
踩
一张纸的厚度为0.1mm,珠穆朗玛峰有8848m,请问折叠多少次可以超过
var h = 88480000;
var num = 1;
var index = 0;
while (true) {
index++;
h *= 2;
if (h >= num) {
break;
}
console.log(index);