CJCoding With Joseph
15free / daySign inCreate account
Back to Multiple Choice Quiz

Select topics to narrow your question pool, then enable Random to jump to a random question matching your filters.

Topics

Loop Through Array

JavaScript quiz · Question 8
easyLoops

Which loop correctly logs each fruit on a new line?

Code

1const fruits = ['apple','banana','orange'];
2// TODO: print each item