SOURCE

//假如每天记住5个单词,3天后一共能记住多少单词?
//for (let day = 1; day <= 3; day++) {
//    document.write(`第${day}天<br>`)
//    for (let num = 1; num <= 5; num++) {
//        document.write(`记住了第${num}个单词<br>`)
//    }
//}

//打印5行5列的星星
for (let hang = 1; hang <= 5; hang++ ){
    for (let lie = 1; lie <= 5; lie++){
        document.write(`*`)
    }
    document.write(`<br>`)
}
console 命令行工具 X clear

                    
>
console