HomeTracks
Explorer···
THEEBUG
Completed0/6
Score0
JSlesson2.js×
THEEBUGlesson2.js
1
const user = await users.______({ name: "Ada" });
2
console.log(user);
$[system] Theebug ready. Happy coding!
Code BlocksDrag blocks into the drop zones above
4 blocks available
findOne
find
get
select
Game Panel
0:000 pts
Level 2 of 6Finding Documents
0/1 slots correct
Objective
Find the single user document matching this filter
Expected Output
{ name: "Ada", age: 30 }
Debug says:
findOne and find both search a collection, but they return different shapes. Which one returns a single matching document directly, ready to use right away?
Debug the Worm