Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: Thomas 'PointedEars' Lahn Newsgroups: comp.lang.javascript Subject: Re: Definition of a script in JavaScript Date: Wed, 04 Feb 2015 21:48:20 +0100 Organization: PointedEars Software (PES) Lines: 25 Message-ID: <3174128.WZNqqLKTKN@PointedEars.de> References: Reply-To: Thomas 'PointedEars' Lahn Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8Bit X-Trace: solani.org 1423082944 15379 eJwFwYkBADAEA8CVUAnG6cP+I/QOi8obTtAxGIG0MeegQ95uKwHM7UyMlgtecIdywUqZ+QELFw/r (4 Feb 2015 20:49:04 GMT) X-Complaints-To: abuse@news.solani.org NNTP-Posting-Date: Wed, 4 Feb 2015 20:49:04 +0000 (UTC) User-Agent: KNode/4.14.2 X-User-ID: eJwVycERwDAIA7CVQsHGjNPQsP8IueorOI2dQTAwmK442FUkpWkjvOb8lYtZLtmoVWHtKyawoNzP+6mSDlwsyBP4 Cancel-Lock: sha1:KnuYUlrUTEKbN0TuziPMPIII3rc= X-NNTP-Posting-Host: eJwNyUEBwDAIA0BLQEno9KTgX8L43uHQqUqCicFodFNG3a71vS+k6acTvs7KDm/ATPVMPyyREVw= Xref: csiph.com comp.lang.javascript:26799 Andreas Bergmaier wrote: > Stefan Ram schrieb: >> I am trying to find this grammar rule. > > I think the closest you will get is from > https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements, > first sentence: > > | JavaScript applications consist of statements […]. > > If you want to look further, you're encouraged to look at the ECMAScript > definition of "program code". There is no such definition, however the ECMAScript Language Specification, 5.1 Edition, section 5.1.4, “The Syntactic Grammar”, is a good starting point: -- PointedEars FAQ: | SVN: Twitter: @PointedEars2 | ES Matrix: Please do not cc me. / Bitte keine Kopien per E-Mail.