

What does this program print?
Trace the program the way the computer would, then make your call before running anything.
let sum = 0;
for (let i = 1; i < 3; i++) {
sum += i;
}
console.log(sum);

Trace the program the way the computer would, then make your call before running anything.
let sum = 0;
for (let i = 1; i < 3; i++) {
sum += i;
}
console.log(sum);