Sad state of programming in my office
We were trying to fix this problem for a project: "In JavaScript, how do we polyfill a fucntion that does not have the Function.prototype.call.
And then I saw my colleague do this Object.prototype.fn = something
And my colleagues are all supporting him saying "it works"
I said during the discussion, that Object.prototype is contaminated so this is not the right way.
The reply: Every object has its own Object.prototype so they don't affect the other.
What is the status of corsets these days?
First, this was supposed to do this for a Function, but he is accessing the Object instead, clearly he does not know what is to be done.
Secondly, all objects have a prototype link that points to the same Object.prototype object. I am seriously doubting he understands what the Object.prototype object is. Third, so many of my colleagues supporting him makes this whole situation even more sad.
What kind of graduates are our colleges making these days?

Object.prototype.fn = somethingis object contamination. However, functions are Objects too (Function implements Object), so you can access it viaFunction.prototype.fn. It's recommended to useFunction.prototype.fn = somethinginstead for a better polyfill. Maybe you are looking for a solution similar to what's in this medium article?As for the reply you received, you can easily write a code that proves its object contamination.
Maybe the team didn't understand what you wanted to share. Just try your best to put your point forward and explain it to them, it will help you and the team.
I really didn’t understand a thing about what you have written 😐
You sound arrogant. Instead of being pissed about it on this app you should tell your colleagues your side of the explanation. Correct then and help them gain experience basically...