Bug Tracker

Ticket #10642 (closed bug: wontfix)

Opened 4 years ago

Last modified 4 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 4 years ago by dmethvin

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

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

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

comment:3 Changed 4 years ago by rwaldron

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

Note: See TracTickets for help on using tickets.