Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #26796
| From | Andreas Bergmaier <andber93@web.de> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | Re: Definition of a script in JavaScript |
| Date | 2015-02-04 20:45 +0100 |
| Organization | albasani.net |
| Message-ID | <matstc$fsj$1@news.albasani.net> (permalink) |
| References | <JavaScript-20150204202621@ram.dialup.fu-berlin.de> |
Stefan Ram schrieb: > I want to use JavaScript® - not ECMAScript, so my reference is > the Mozilla Developer Network (MDN). > > […] > So, there must be some syntax rule (grammar rule) for what > one can write into a script and what not. Yeah, but it might not be documented in the MDN. > 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". > So far, I only found this in the MDN: > > »The HTML <script> element is used to embed or reference an > executable script within an HTML or XHTML document.« > ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ > But were is the definition of »executable script«? Notice that a HTML "executable script" might not be a JavaScript script. There are many other scripting languages. Regards, Bergi
Back to comp.lang.javascript | Previous | Next — Next in thread | Find similar | Unroll thread
Re: Definition of a script in JavaScript Andreas Bergmaier <andber93@web.de> - 2015-02-04 20:45 +0100
Re: Definition of a script in JavaScript Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-02-04 21:48 +0100
Re: Definition of a script in JavaScript Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-02-04 22:14 +0100
csiph-web