📜  js 代码星星 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:12.692000             🧑  作者: Mango

代码示例1
for (var index = 0; index <= 10; index++){
    for(stars = 0; stars < index; stars++){
        document.write("*");
    };
    document.write("
"); };