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

Add Object.seal and Object.preventExtensions #198

Open
kaleidawave opened this issue Aug 27, 2024 · 0 comments
Open

Add Object.seal and Object.preventExtensions #198

kaleidawave opened this issue Aug 27, 2024 · 0 comments
Labels
checking Issues around checking enhancement New feature or request good-first-issue PRs welcome 🙏

Comments

@kaleidawave
Copy link
Owner

kaleidawave commented Aug 27, 2024

Currently Object.freeze works via frozen on LocalInformation. This current system could be extended to account for these additional two object modifications. The frozen on LocalInformation should be changed from a HashSet to HashMap<TypeId, Frozen | Sealed | NoExtensions> and various lookups should be done on this for certain usages of objects.

See:

@kaleidawave kaleidawave added enhancement New feature or request checking Issues around checking good-first-issue PRs welcome 🙏 labels Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
checking Issues around checking enhancement New feature or request good-first-issue PRs welcome 🙏
Projects
None yet
Development

No branches or pull requests

1 participant