Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
coolelectronics
8mo ago
0 comments
Save
Share
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
0 comments
1 comments · 1 top-level
top
newest
oldest
nullpt_rs
8mo ago
D'oh! You are correct :-) Good catch and thanks for teaching me something!
j
/
k
navigate · click thread line to collapse