Andrea Giammarchi (2015-02-19T19:02:04.000Z)
d at domenic.me (2015-02-22T03:30:02.764Z)
Yeah, beside the fact whenever you freeze something, and you create a module, or a library, or whatever, you don't know what you are freezing up. Since priority is arbitrary, if script A sets stuff before script B then you are done. Also, I use Object.prototype without causing any sort of problems/error since years now, nobody complained, but an Object.freeze upfront would screw the library anyway. Trust what you load in and avoid XSS from users as much as you can .... you have your problem fixed for most of the cases (and the current state of JS)