We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug
function.prototype should have an own constructor property pointing back to that function.
function.prototype
constructor
To Reproduce
const a = function asd() {}; a
Expected behavior Should output this:
{ constructor: { name: asd, prototype: [Cycle], length: 0, __proto__: { constructor: { name: Function, prototype: [Cycle], length: 1, __proto__: undefined }, __proto__: undefined } }, __proto__: { constructor: { setPrototypeOf: { length: 2 }, prototype: [Cycle], name: Object, length: 1, defineProperty: { length: 3 }, getPrototypeOf: { length: 1 }, is: { length: 2 }, __proto__: { constructor: { name: Function, prototype: [Cycle], length: 1, __proto__: undefined }, __proto__: undefined } }, hasOwnProperty: { length: 0 }, propertyIsEnumerable: { length: 0 }, toString: { length: 0 } } }
Instead top level constructor field is not present in the response.
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Describe the bug
function.prototype
should have an ownconstructor
property pointing back to that function.To Reproduce
Expected behavior
Should output this:
Instead top level
constructor
field is not present in the response.The text was updated successfully, but these errors were encountered: