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

Mention existence of Object.hasOwn() in modern JS? #5

Closed
voxpelli opened this issue Nov 1, 2021 · 0 comments
Closed

Mention existence of Object.hasOwn() in modern JS? #5

voxpelli opened this issue Nov 1, 2021 · 0 comments

Comments

@voxpelli
Copy link

voxpelli commented Nov 1, 2021

In all current browsers + in the latest Node 16 the new Object.hasOwn() exists to solve the same problem which this module solves.

For code that only focuses on those environments it’s better to use that one than this module I guess.

Perhaps mention it’s existence in the README.md? (I would make a PR, but I’m currently on my phone, making it a bit harder)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant