Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: JJ Newsgroups: comp.lang.javascript Subject: Re: Source code "objectifying" technique? Date: Fri, 4 Jan 2013 02:00:17 +0000 (UTC) Organization: A noiseless patient Spider Lines: 17 Message-ID: References: Injection-Date: Fri, 4 Jan 2013 02:00:17 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="f8ea35d8958493b8650c0b3ef1b6a34b"; logging-data="7949"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX192QueNfIsp7Wgix8FGE/j0AqNun8/iR6M=" User-Agent: Xnews/5.04.25 X-Face: \*\`0(1j~VfYC>ebz[&O.]=,Nm\oRM{of,liRO#7Eqi4|!]!(Gs=Akgh{J)605>C9Air?pad{sSZ09u+A7f<^paR"/NH_# wrote: > Bound as in Function.prototype.bind? Maybe. Off the top of my head, I > can't think of how that would cause problems, if what the functions are > bound to is also in the scope of the anonymous closure. > I was thinking more of libraries directly setting properties on the > global object, or missing variable declarations. Yes, including "call" and "apply". OK. Maybe I'm just too worried. > Conversion #1[edited] has the potential to cause problems in JScript, because of > the braindead way IE handles named function expressions: > > http://kangax.github.com/nfe/#jscript-bugs Didn't know that, and that it can cause many problems. I'll keep that for reference, thanks.