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