What is the output of Loop 1? for (var i=0; i<5; i++) { console.log(i); } console.log(i); When this runs, what will disp
Posted: Fri May 20, 2022 6:12 pm
What is the output of Loop 1? for (var i=0; i<5; i++) { console.log(i); } console.log(i); When this runs, what will display? 012345 1234 error 12345 O 12345 error Question 3 1 pts What is the output of Loop 2? for (let i=0; i<5; i++) { console.log(i); } console.log(i); 01234 error 012345 12345 12345 error