-
-
Notifications
You must be signed in to change notification settings - Fork 46
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
feat: support Object.seal
object Object.preventExtensions
#213
feat: support Object.seal
object Object.preventExtensions
#213
Conversation
Awesome! Thanks for checking it out and even more for the contribution. Currently a bit busy this afternoon (you will see soon) so will check this out tomorrow or Friday. You can ignore the CI errors for now as they are for separate things that I will fix. In the meantime you can check out the specification.md file to see how the type checker is "unit tested". If you have any of the new features working right now for Thanks 🙏 |
6846c45
to
a8fcb23
Compare
Object.seal
object Object,preventExtensions
Object.seal
object Object.preventExtensions
Awesome! This looks ready to merge. I will have to re-read the MDN documentation on this to double check that everything is correct and whether there is anything else that could be implemented. But looking good, new specification tests passing AND no breakages 🎉 https://github.com/kaleidawave/ezno/actions/runs/11603282627/job/32383499515?pr=213#step:8:323 |
I read the MDN and noticed that I'll implement this as well. https://developer.mozilla.org/ja/docs/Web/JavaScript/Reference/Global_Objects/Object/isExtensible |
How about this? |
Awesome! Will merge later. |
Hey! Great work, I like the abstraction with
Also did what I do for every PR when they are finished which is to merge the staging tests into the final specification once it is ready! (I should come up with a way to automate that process). |
Also thanks for the sponsorship 🎉. Next weeks blog post should be about properties, so I will mention this feature in it! |
Thank you very much! |
Hello! Thank you for this fantastic open-source project!
I was intrigued by Ezno, so I decided to try one of the good-first-issues to study and get familiar with the codebase.
#198
As far as I know, objects that have been
Object.freeze
,Object.seal
, orObject.preventExtensions
will all have bothObject.isFrozen
andObject.isSealed
return true. Therefore, I’m using existence checks based solely on frozen HashMap keys.