Quiz: Make a List, Check It Twice
Test your understanding of arrays and loops by completing a quick quiz that reinforces key JavaScript concepts. This lesson helps you practice working with lists of data, preparing you to apply these skills in upcoming coding challenges.
We'll cover the following...
We'll cover the following...
...
Technical Quiz
1.
What does the following code print?
let colors = ["red", "blue", "green"];
console.log(colors[1]);
A.
red
B.
blue
C.
green
D.
undefined
1 / 3
...