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