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
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
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
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