79620646

Date: 2025-05-14 02:37:53
Score: 2
Natty:
Report link

Aftering looking into the standard. I found that the behavior is guaranteed.

The relevant steps are:

10.5.15 ProxyCreate
...
7. Set P.[[ProxyHandler]] to handler.

and

10.5.8 [[Get]] ( P, Receiver )
...
3. Let handler be O.[[ProxyHandler]].

Thus it's guaranteed that modifying the handler object will affect the proxy.

Reasons:
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: StructSeeker