Skip to content
CodeWiki
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
Search
⌘K
English
English
Chinese
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
English
English
Chinese
Practice
/
Quiz
/
JavaScript
/
Map and Set
Which requirement makes WeakMap the wrong cache structure?
from Map and Set
Node 24
intermediate
1 min
Which requirement makes WeakMap the wrong cache structure?
Evict the oldest entry when the cache reaches 500 keys.
Attach parsed metadata to schema objects.
Look up metadata while the exact object key is available.
Avoid changing the schema object itself.
Check
Ask AI about this kata
Report an error
next kata
A Map may explicitly store undefined. Which check distinguishes that entry from an absent…
Quiz
A new version is available
Reload