Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upFunction has non-object prototype 'null' in instanceof check, when I use node but it is fine in Browser #35730
Comments
Remove a useless check on Object descriptor. It seems like js browsers engine dont do this check. Fixes: nodejs#35730
Remove a useless check on Object descriptor. It seems like js browsers engine dont do this check. Fixes: nodejs#35730
Looks like a Node.js bug. Logging an object should never crash. The same works in the browser:
Node.js:
Browser:
node Verison: v14.14.0