top | item 45509496

(no title)

coolelectronics | 4 months ago

Your example proxies the console object, the intended way in this case is to make a proxy from the log function itself and use the apply hook

toString will be called on the Proxy and not your hook so it won't reveal anything

discuss

order

nullpt_rs|4 months ago

D'oh! You are correct :-) Good catch and thanks for teaching me something!