Path: csiph.com!news.mixmin.net!weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: Thomas 'PointedEars' Lahn Newsgroups: comp.lang.javascript Subject: Re: And Another function Question Date: Thu, 10 Dec 2015 00:26:08 +0100 Organization: PointedEars Software (PES) Lines: 24 Message-ID: <11602512.mtjsSYLier@PointedEars.de> References: <34ug6btki29u124smhr293cd4j8cu31de8@4ax.com> Reply-To: Thomas 'PointedEars' Lahn Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8Bit X-Trace: solani.org 1449703569 13397 eJwNycEBwCAIA8CVREgC41jU/Uew9z04ja0gGLi4C54ehdGyT+xErz/lQRswFnxvzWM5T0nzAfhzD5M= (9 Dec 2015 23:26:09 GMT) X-Complaints-To: abuse@news.solani.org NNTP-Posting-Date: Wed, 9 Dec 2015 23:26:09 +0000 (UTC) User-Agent: KNode/4.14.2 X-User-ID: eJwNyskRwEAIA7CWgNjebDkMR/8lJHqLj1x1IApcrnVzWLgMovBGj5XDKngUiBTb7fxLmTRfxcwVn2zE3f4AOsEU9w== Cancel-Lock: sha1:aGkkf+eZq4Ygf0n3NcJ2jGgY6Gk= X-NNTP-Posting-Host: eJwNxskBwCAIBMCW5NhVygGR/ktI5jUwCu92go7BqEo2GT592vrB9ztVUZqQrKXXloRrzn/lfB+IER0= Xref: csiph.com comp.lang.javascript:29002 Gene Wirchenko wrote: > What does (contrived example follows) > (function(a,b,c){some_code})(1,2,3); > mean? > > Is this to define an unnamed function with code some_code and > then immediately call it with the parms 1,2,3? Yes. The proper term is “anonymous function (expression)” rather than “unnamed function”. > What is a good reference for this? I am willing to put in study > time, but I do not even know where to start. Also referred to by – you probably have guessed it – the FAQ. -- PointedEars FAQ: | SVN: Twitter: @PointedEars2 | ES Matrix: Please do not cc me. / Bitte keine Kopien per E-Mail.