Bug Tracker


Ticket #10642 (closed bug: wontfix)

Opened 2 years ago

Last modified 2 years ago

Extending Object.prototype breaks raises "has no method 'replace'".

Reported by: Leon Fedotov <fedotov.leon@…> Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.7b2
Keywords: Cc:
Blocking: Blocked by:


Hi, here is an example:  http://jsfiddle.net/NeW4j/ I understand that extending Object isn't a good idea but this is pretty bad :(

Change History

comment:1 Changed 2 years ago by dmethvin

  • Status changed from new to closed
  • Resolution set to wontfix

comment:2 Changed 2 years ago by Leon Fedotov <fedotov.leon@…>

wait but if i want to add support for es5 in older browsers?

comment:3 Changed 2 years ago by rwaldron

Lucky for you, es5 doesn't extend Object.prototype

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.


Add a comment

Modify Ticket

as closed

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.