It's a standard practice by many JavaScript libraries to modify the
Function.prototype object - for the purpose of writing closure-
building functions to preserve the 'this' variable, or to curry
arguments onto a function call.

I agree that it can cause inter-library conflicts and so should be
used judiciously (but I don't think it causes a risk of infinite
loops?).

On Jan 20, 6:24 am, jmulligan <[email protected]> wrote:
> You create infinite loops by touching the Function.prototype object,
> you should never do that.

-- 
To view archived discussions from the original JSMentors Mailman list: 
http://www.mail-archive.com/[email protected]/

To search via a non-Google archive, visit here: 
http://www.mail-archive.com/[email protected]/

To unsubscribe from this group, send email to
[email protected]

Reply via email to