HomeTracks
Explorer···
THEEBUG
Completed0/11
Score0
JSlesson9.js×
THEEBUGlesson9.js
1
const colors = ["red", "green", "blue"];
2
for (const color ______ colors) {
3
console.log(color);
4
}
$[system] Theebug ready. Happy coding!
Code BlocksDrag blocks into the drop zones above
4 blocks available
of
in
to
=
Game Panel
0:000 pts
Level 9 of 11Loops
0/1 slots correct
Objective
Complete the for...of loop to print each color
Expected Output
red
green
blue
Debug says:
for...of loops directly over an array's VALUES. Which keyword completes it?
Debug the Worm