-
-
Notifications
You must be signed in to change notification settings - Fork 69
Implement Object.hasOwn #163
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
Conversation
Thanks for the PR! One thing to note is that features in engine262 are flagged until they reach stage 4. You can do that by adding the feature to surroundingAgent.feature('whatever')
? ['hasOwn', Object_hasOwn, 2]
: undefined, If we also wait for your test PR to land, you can add the feature to |
The test262 tests have landed and I've updated this PR to add it to the features list. |
@jamiebuilds i pulled the latest test262 into main. if you rebase and enable the feature it should be good to go. |
Co-authored-by: devsnek <[email protected]>
Co-authored-by: devsnek <[email protected]>
Co-authored-by: devsnek <[email protected]>
e4351fa
to
313a677
Compare
@devsnek Updated |
Co-authored-by: devsnek <[email protected]>
This proposal just reached stage 3: https://github.com/tc39/proposal-accessible-object-hasownproperty
Spec: https://tc39.es/proposal-accessible-object-hasownproperty/