Grokking JavaScript Fundamentals
Ask Author
Back to course home

0% completed

Vote For New Content
Quiz
Quiz

What is the output of the following code snippet using a for loop?

for(let i = 0; i < 3; i++) {
    console.log(i);
}
0 1 2
1 2 3
0 1 2 3
undefined

.....

.....

.....

Like the course? Get enrolled and start learning!