Skip to content
Discussion options

You must be logged in to vote

You listed the main reasons, there are many. Performance (in some cases, as you noticed, sometimes it's actually bad for performance), better compression, but there are minor things. The main thing is that monkey patching of globals by third-party code / user / malefactor can break the library code / make internal logic observable or change it. Also, core-js by itself patches many things, and avoiding of cash here could cause many different problems like circular calling.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by zloirock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants