SOURCE

let i = 1 
while (i <= 10){
    document.write('我要循环十次<br>')
    i ++
}
console 命令行工具 X clear

                    
>
console