Skip to content

Conversation

ArjixWasTaken
Copy link

@ArjixWasTaken ArjixWasTaken commented Sep 13, 2023

Just curious why the code was that verbose.
I am not really a fan of the multiple assignments with the same value, but I did it either way. and as expected they are bad

The main reason for this PR comes down to true ? true : false, kinda redundant imo

@zloirock
Copy link
Contributor

zloirock commented Sep 13, 2023

Note that the current polyfill implementation is incorrect anyway. Both - methods and constants - should be non-enumerable.

It can be fixed in the scope of this PR because it affects this.

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

Successfully merging this pull request may close these issues.

2 participants