Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: Aatu Koskensilta Newsgroups: comp.lang.javascript Subject: Re: call by reference Date: Tue, 27 Mar 2012 21:31:40 +0300 Organization: A noiseless patient Spider Lines: 18 Message-ID: <871uoddhf7.fsf@uta.fi> References: <97d44dea-bfe6-4300-bd31-31c78103a9d7@er9g2000vbb.googlegroups.com> <37mpm7t5g4or5h5n14sbf7p66p44bv0obe@4ax.com> <87ehsfcfie.fsf@uta.fi> <8762dqdc4d.fsf@uta.fi> <2491914.vAMVHVRlcs@PointedEars.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Info: mx04.eternal-september.org; posting-host="mkDZK8dQ1WnTK6GuXhuzxQ"; logging-data="30575"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+VeiphzG+LeSc0wGYzwauK" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) Cancel-Lock: sha1:Uq7IM3AML4OJh/TBg6MGqUeYMlM= sha1:6OFKmwAPdagpsmEf6MrkVec/iRs= Xref: csiph.com comp.lang.javascript:13094 Thomas 'PointedEars' Lahn writes: > Aatu Koskensilta wrote: > >> As mentionted in this thread, apparently the arguments object is >> passed by reference. > > As explained in this thread, it is not. Right. We could say the arguments object allows one to simulate pass by reference for certain variables in certain special situations, but this is pedantry more tedious than even I have much inclination for. -- Aatu Koskensilta (aatu.koskensilta@uta.fi) "Wovon man nicht sprechen kann, darüber muss man schweigen." - Ludwig Wittgenstein, Tractatus Logico-Philosophicus