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
/
Proxy and Reflect
Why does a forwarding get trap usually call Reflect.get(target, key, receiver)?
from Proxy and Reflect
Node 24
intermediate
2 min
Why does a forwarding get trap usually call Reflect.get(target, key, receiver)?
It preserves the original receiver as this for accessors, including reads through objects inheriting from the proxy
It prevents every getter on the target from executing
It makes proxy and target strictly equal
It converts Symbol keys to strings before lookup
Check
Ask AI about this kata
Report an error
next kata
What does calling revoke() on a revocable proxy guarantee?
Quiz
A new version is available
Reload