What is the output of the following code?
var i = 0;
while (i < 10) {
if (i % 2 === 0) {
console.log(i);
}
i++;
}
What is the output of the following code?
var i = 0;
while (i < 10) {
if (i % 2 === 0) {
console.log(i);
}
i++;
}