Home
Tracks
Reset
Help
Theebug — Learn MongoDB by Doing
Light
Explorer
···
▼
THEEBUG
▼
easy
lesson1.js
lesson2.js
lesson3.js
▼
medium
lesson4.js
lesson5.js
▼
hard
lesson6.js
Completed
0/6
Score
0
JS
lesson3.js
×
THEEBUG
›
lesson3.js
1
const
adults
=
await
users
.
find
(
{
age
:
{
______
:
18
}
}
)
.
toArray
(
)
;
TERMINAL
PROBLEMS
OUTPUT
DEBUG CONSOLE
⊕
⋮
$
[system] Theebug ready. Happy coding!
Code Blocks
Drag blocks into the drop zones above
4 blocks available
$gte
$gt
>=
$more
Game Panel
0:00
0 pts
Level 3 of 6
Query Operators
0/1 slots correct
Objective
Find every user whose age is 18 or greater
Expected Output
[{ name: "Ada", age: 30 }]
Use a hint
Debug says:
"18 or greater" needs to include 18 itself, not just ages strictly above it. Which query operator means "greater than or equal to"?
Debug the Worm