Grokking JavaScript Fundamentals
Ask Author
Back to course home

0% completed

Quiz
Table of Contents

Contents are not accessible

Contents are not accessible

Contents are not accessible

Contents are not accessible

Contents are not accessible

What is the output of the following code snippet using a for loop?
for(let i = 0; i < 3; i++) {
    console.log(i);
}
A
0 1 2
B
1 2 3
C
0 1 2 3
D
undefined

.....

.....

.....

Like the course? Get enrolled and start learning!

Table of Contents

Contents are not accessible

Contents are not accessible

Contents are not accessible

Contents are not accessible

Contents are not accessible