-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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 CoreObject to leverage native JS semantics. #16436
Conversation
@pzuraq - This is a slightly different approach than your PR, but has basically the same goal. When you are back in the saddle, can you rebase your tests on top of this branch and see how we do? |
559aac5
to
07ef267
Compare
07ef267
to
03dfc91
Compare
👍this looks good based on a quick reading on my phone, will rebase the tests as soon as I’m back! |
|
||
export function classToString() { | ||
let name = getName(this); | ||
if (name !== void 0) { |
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.
even if it was undefined
babel would replace it to void 0
, no ?
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.
Yes, I believe so
#16437 enables the testing infrastructure to ensure that we stay compliant... |
.extend()
actually useclass
for proper inheritanceNAME_KEY
to a weakmap