| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
Excellent catch! I was just doing some testing and realized that we're augmenting Function.prototype with that __proto__ assignment 😱 > Function.prototype.WALK_MODE
{ WALK_PRE: 0, WALK_POST: 1 } |
Sorry, something went wrong.
Don't assign enums to __proto__
| Back | FazBrowse Home | New Git URL |
This fixes callstack errors with apm. I think the proto assignment is a recent thing, maybe added by @maxkorp? Tests pass without, so not sure the reason for the addition.
What think ye?