You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is defined by the spec and not an issue with Node.js. The instanceof check can throw in case the right side has no proper prototype. This is the case for Proxy.
Version
v16.15.1
Platform
Linux dev 5.18.6-200.fc36.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jun 22 13:46:18 UTC 2022 x86_64 GNU/Linux
Subsystem
No response
What steps will reproduce the bug?
How often does it reproduce? Is there a required condition?
always
What is the expected behavior?
no failure
What do you see instead?
TypeError: Function has non-object prototype 'undefined' in instanceof check
at Function.[Symbol.hasInstance] ()
Additional information
similar issue #35730
The text was updated successfully, but these errors were encountered: