Skip to content

Tag: overriding

Reverting overridden String prototype

I have an overridden String.prototype in my javascript window. I have a reference to an iframe window that hasn’t been touched, and I want to use it to create a new string without the overridden functions: How do I create a new string without the overridden functions? For overridden Array.prototype usin…