Bug Tracker

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#10642 closed bug (wontfix)

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

Reported by: Leon Fedotov <[email protected]…> Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.7b2
Keywords: Cc:
Blocked by: Blocking:

Description

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 11 years ago by dmethvin

Resolution: wontfix
Status: newclosed

comment:2 Changed 11 years ago by Leon Fedotov <[email protected]…>

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

comment:3 Changed 11 years ago by Rick Waldron

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

Note: See TracTickets for help on using tickets.