In what versions of browsers you can extend built-in prototypes?

Good afternoon.

I want to write a small library for their needs. I wanted to do it by extending built-in prototypes, for example:
String.prototype.explode = function () {...}
Node.prototype.remove = function () {...}
Element.prototype.text = function () {...}
Array.prototype...
NodeList.prototype...
And so on.

Tell me what browsers this will work as expected?

And how to extend the shared prototype? For example:
Object.prototype.each = function ...

Thank you.
July 8th 19 at 15:32
1 answer
July 8th 19 at 15:34
caniuse.com/#search=prototype

Bad to extend the standard, if we assume your code will be used somewhere else besides your website, you can break the neighboring scripts. Well on your will or other scripts.
I watched it, but doubt I have left. Whether there is a speech that I wrote. - Eryn commented on July 8th 19 at 15:37
: you can check in any browser https://saucelabs.com/ - bailee_Stant commented on July 8th 19 at 15:40

Find more questions by tags JavaScript