Bug Tracker

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#10642 closed bug (wontfix)

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:
Blocked by: Blocking:


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 (3)

comment:1 Changed 5 years ago by dmethvin

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

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

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

comment:3 Changed 5 years ago by rwaldron

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

Note: See TracTickets for help on using tickets.