What is the result of the following code?
let y = 0;
while (y < 5) {
if (y === 3) {
break;
}
y++;
}
console.log(y);
What is the result of the following code?
let y = 0;
while (y < 5) {
if (y === 3) {
break;
}
y++;
}
console.log(y);