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

Global objects have wrong attributes #759

Closed
HalidOdat opened this issue Oct 2, 2020 · 0 comments · Fixed by #722
Closed

Global objects have wrong attributes #759

HalidOdat opened this issue Oct 2, 2020 · 0 comments · Fixed by #722
Assignees
Labels
bug Something isn't working builtins PRs and Issues related to builtins/intrinsics Hacktoberfest Hacktoberfest 2021 - https://hacktoberfest.digitalocean.com
Milestone

Comments

@HalidOdat
Copy link
Member

Describe the bug
The global objects like Object, Array, Map, etc, have WRITABLE, ENUMERABLE, and CONFIGURABLE when they should have WRITABLE, NON_ENUMERABLE, and CONFIGURABLE

To Reproduce
Steps to reproduce the issue, or JavaScript code that causes this failure.

This JavaScript code reproduces the issue:

globalThis.propertyIsEnumerable("Object") // this gives true, but it should be false
@HalidOdat HalidOdat added bug Something isn't working Hacktoberfest Hacktoberfest 2021 - https://hacktoberfest.digitalocean.com builtins PRs and Issues related to builtins/intrinsics labels Oct 2, 2020
@HalidOdat HalidOdat added this to the v0.10.0 milestone Oct 2, 2020
@HalidOdat HalidOdat self-assigned this Oct 2, 2020
@RageKnify RageKnify modified the milestones: v0.10.0, v0.11.0 Oct 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working builtins PRs and Issues related to builtins/intrinsics Hacktoberfest Hacktoberfest 2021 - https://hacktoberfest.digitalocean.com
Projects
None yet
2 participants