Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #29000
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Ben Bacarisse <ben.usenet@bsb.me.uk> |
| Newsgroups | comp.lang.javascript |
| Subject | Re: And Another function Question |
| Date | Wed, 09 Dec 2015 21:47:57 +0000 |
| Organization | A noiseless patient Spider |
| Lines | 21 |
| Message-ID | <87a8pj47le.fsf@bsb.me.uk> (permalink) |
| References | <34ug6btki29u124smhr293cd4j8cu31de8@4ax.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain |
| Injection-Info | mx02.eternal-september.org; posting-host="017616aa25f81ec581c44d76d61ba2f3"; logging-data="24547"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18DwUll5+g+Xt6hf9ykzTaKSQgdkQYAIZ8=" |
| Cancel-Lock | sha1:ObZ7LhPWD9DnXPjDFjbUC4l4BOs= sha1:NIkcCfyPGl0VSEzS6STCl6GAW/M= |
| X-BSB-Auth | 1.96dc53cdd39d2e94b886.20151209214757GMT.87a8pj47le.fsf@bsb.me.uk |
| Xref | csiph.com comp.lang.javascript:29000 |
Show key headers only | View raw
Gene Wirchenko <genew@telus.net> writes:
> 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.
> What is a good reference for this? I am willing to put in study
> time, but I do not even know where to start.
Sorry, I can't help there. The general notion -- that of anonymous
functions -- is found in many languages. If you knew, for example,
Lisp, almost nothing in EcmaScript would be new to you, but you probably
want a language specific reference, and I have not researched that.
--
Ben.
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
And Another function Question Gene Wirchenko <genew@telus.net> - 2015-12-09 10:55 -0800
Re: And Another function Question Luuk <luuk@invalid.lan> - 2015-12-09 21:13 +0100
Re: And Another function Question RobG <rgqld@iinet.net.au> - 2015-12-09 19:23 -0800
Re: And Another function Question Luuk <luuk@invalid.lan> - 2015-12-10 20:06 +0100
Re: And Another function Question Joao Rodrigues <groups_jr-1@yahoo.com.br> - 2015-12-09 18:50 -0200
Re: And Another function Question Ben Bacarisse <ben.usenet@bsb.me.uk> - 2015-12-09 21:47 +0000
Re: And Another function Question Ben Bacarisse <ben.usenet@bsb.me.uk> - 2015-12-10 01:10 +0000
Re: And Another function Question Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-12-10 00:26 +0100
csiph-web