JavaScript Developer — Hard
Key points
- Proxy handler checks if property exists in target object
- Returns property value if exists, otherwise returns 37
- `p.a` exists in target object, so it returns 1
- `p.b` does not exist in target object, so it returns 37
Ready to go further?
Related questions
