Comment Comment by coolelectronics 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 hooktoString will be called on the Proxy and not your hook so it won't reveal anything parent coolelectronics 1 year ago
toString will be called on the Proxy and not your hook so it won't reveal anything