Skip to content
New issue

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

Key __proto__ in object literal is treated as an ordinary property #68

Open
y21 opened this issue Aug 1, 2023 · 0 comments
Open

Key __proto__ in object literal is treated as an ordinary property #68

y21 opened this issue Aug 1, 2023 · 0 comments
Labels
A-vm bug Something isn't working

Comments

@y21
Copy link
Owner

y21 commented Aug 1, 2023

... when it should be treated as setting its internal prototype slot. E.g.

let b = { __proto__: null };
console.log(b.__proto__); // not null!!
@y21 y21 added bug Something isn't working A-vm labels Aug 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-vm bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant