I have several definitions in my personal library, this one is generating error in Safari:
Object.defineProperty(Element.prototype, "remove", {
enumerable: false,
configurable: false,
writable: false,
value: function(){
this.parentElement.removeChild(this);
}
});
The error: TypeError: Attempting to change enumerable attribute of unconfigurable property.
I don't get what exactly this phrase means, in FireFox this error does not occurs.