Home
Tracks
Reset
Help
Theebug — Learn JavaScript by Doing
Light
Explorer
···
▼
THEEBUG
lesson1.js
lesson2.js
lesson3.js
lesson4.js
lesson5.js
lesson6.js
lesson7.js
lesson8.js
lesson9.js
lesson10.js
lesson11.js
Completed
0/11
Score
0
JS
lesson9.js
×
THEEBUG
›
lesson9.js
1
const
colors
=
[
"red"
,
"green"
,
"blue"
]
;
2
for
(
const
color
______
colors
)
{
3
console
.
log
(
color
)
;
4
}
TERMINAL
PROBLEMS
OUTPUT
DEBUG CONSOLE
⊕
⋮
$
[system] Theebug ready. Happy coding!
Code Blocks
Drag blocks into the drop zones above
4 blocks available
of
in
to
=
Game Panel
0:00
0 pts
Level 9 of 11
Loops
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