What value is obtained when executing the following code?
let x = 0;
for (let i = 1; i <= 3; i++) {
x += i;
}
console.log(x);
What value is obtained when executing the following code?
let x = 0;
for (let i = 1; i <= 3; i++) {
x += i;
}
console.log(x);