2023-07-19 14:06:26 +08:00

5 lines
95 B
JavaScript

let total = 0;
for (let i = 0; i < 10; i++) {
total += i;
}
console.log("Total: " + total);