SOURCE
JavaScript
Result
let sum = 0, i = 1; do { sum += i; i++; } while (i <= 10) console.log(sum);
console 命令行工具
X
clear
>
console