📅  最后修改于: 2022-03-11 15:03:01.058000             🧑  作者: Mango
var i = 1; // initialize
while (i < 100) { // enters the cycle if statement is true
i *= 2; // increment to avoid infinite loop
document.write(i + ", "); // output
}