Path: csiph.com!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Ben Bacarisse Newsgroups: comp.lang.javascript Subject: Re: And Another function Question Date: Thu, 10 Dec 2015 01:10:25 +0000 Organization: A noiseless patient Spider Lines: 19 Message-ID: <87si3b2jni.fsf@bsb.me.uk> References: <34ug6btki29u124smhr293cd4j8cu31de8@4ax.com> <87a8pj47le.fsf@bsb.me.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Info: mx02.eternal-september.org; posting-host="017616aa25f81ec581c44d76d61ba2f3"; logging-data="4984"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/B3gHabSJBQRwS3WmAwjv4fzKWKWUpAEM=" Cancel-Lock: sha1:NXQogq9M1OUqfL5BKZE2WBx4Z78= sha1:oj2lh+MRMPz9vNOcSEKV3PHHwaA= X-BSB-Auth: 1.28c7f2c632230763bf5a.20151210011025GMT.87si3b2jni.fsf@bsb.me.uk Xref: csiph.com comp.lang.javascript:29005 ram@zedat.fu-berlin.de (Stefan Ram) writes: > Ben Bacarisse writes: >>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. > > »14.1 Function Definitions« gives the syntax for > »FunctionExpression« and says that a »FunctionExpression« > starts with the token »function«. Sure, but I did not think the OP wanted a reference to the language specification. I though they wanted some resource to learn about such usages. By "language specific reference" I meant something to learn about this style but using EcmaScript not, say, Lisp or ML. -- Ben.