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
refactor: use prototype #2165
refactor: use prototype #2165
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
MDN suggests using Object.hasOwn
, vs., Object.hasOwnProperty
, or Object.prototype.hasOwnProperty
:
Should we go this route?
CC: @dhensby ☝️ |
|
👏 works for me, I should have read when |
Relates to: #2161 (comment)