HomeTracks
Explorer···
THEEBUG
Completed0/11
Score0
JSlesson3.js×
THEEBUGlesson3.js
1
const fruits = ["apple", "banana", "cherry"];
2
 
3
for (let i = 0; i < fruits.______; i++) {
4
console.log(fruits[i]);
5
}
$[system] Theebug ready. Happy coding!
Code BlocksDrag blocks into the drop zones above
4 blocks available
length
size
count
total
Game Panel
0:000 pts
Level 3 of 11Array Length
0/1 slots correct
Objective
Use the correct array property to loop through all fruits and log each one
Expected Output
apple
banana
cherry
Debug says:
Arrays have a special property that tells you how many items they contain. Which one is it? Drag it into the slot after the dot!
Debug the Worm