Computer Science, asked by Anonymous, 1 month ago

what will be the output.

for(let i=0; i<5; i++) {
if(i == 3){
return ;
}
console.log(i);
}

Option:-
1) 0 1 2
2) 0 1 2 3 4
3) syntax problem


Answers

Answered by yogeshbhuyal7
1

Answer:

what will be the output.

for(let i=0; i<5; i++) {

if(i == 3){

return ;

}

console.log(i);

option 2

Similar questions