Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #26883

Re: Definition of a script in JavaScript

From Thomas 'PointedEars' Lahn <PointedEars@web.de>
Newsgroups comp.lang.javascript
Subject Re: Definition of a script in JavaScript
Date 2015-02-21 17:37 +0100
Organization PointedEars Software (PES)
Message-ID <11409371.vLMhksEnQf@PointedEars.de> (permalink)
References <JavaScript-20150204202621@ram.dialup.fu-berlin.de> <b290acf4-c7be-49a8-9396-f0225386078d@googlegroups.com> <1843703.7QeMqOPspv@PointedEars.de> <59a1a1bf-a981-43d6-aa1d-2244f9ba5b4e@googlegroups.com> <mbbg5k$nr0$1@solani.org>

Show all headers | View raw


Christoph M. Becker wrote:

> Scott Sauyet wrote:
>> Thomas 'PointedEars' Lahn wrote:
>>> [ ... ] [T]here is no "javascript"; certainly there is no such
>>> thing as "valid javascript" [ ... ]
>> 
>> <http://i.imgur.com/5UhdL.png>
> 
> Isn't it worthwhile to hint at the uncommon spelling of the word
> "javascript" (at least)?

The point here is that there cannot be a universally agreed definition as to 
what constitutes “valid javascript” because even if we accept the fact that 
”javascript” stands in for “ECMAScript implementations” (which I recommend 
against because of ambiguity), those implementations *differ*:

That which is *syntactically* valid (i.e. compiles) in one implementation 
does not need to be in another (as a case in point, we discussed the use of 
“`…`” for template strings in Mozilla JavaScript – not supported elsewhere 
[as of yet]; there are many other such examples).

So the notion of “valid javascript” can only be called nonsense, employed 
only by the un(der)informed or blatantly ignorant.

-- 
PointedEars
FAQ: <http://PointedEars.de/faq> | SVN: <http://PointedEars.de/wsvn/>
Twitter: @PointedEars2 | ES Matrix: <http://PointedEars.de/es-matrix>
Please do not cc me. / Bitte keine Kopien per E-Mail.

Back to comp.lang.javascript | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Re: Definition of a script in JavaScript Charles Cossé <ccosse@gmail.com> - 2015-02-04 11:47 -0800
  Re: Definition of a script in JavaScript Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-02-07 16:31 +0100
    Re: Definition of a script in JavaScript Scott Sauyet <scott.sauyet@gmail.com> - 2015-02-07 18:41 -0800
      Re: Definition of a script in JavaScript Tim Streater <timstreater@greenbee.net> - 2015-02-08 10:13 +0000
        Re: Definition of a script in JavaScript Scott Sauyet <scott.sauyet@gmail.com> - 2015-02-09 14:32 -0800
          Re: Definition of a script in JavaScript Tim Streater <timstreater@greenbee.net> - 2015-02-09 22:44 +0000
      Re: Definition of a script in JavaScript "Christoph M. Becker" <cmbecker69@arcor.de> - 2015-02-10 00:34 +0100
        Re: Definition of a script in JavaScript Scott Sauyet <scott.sauyet@gmail.com> - 2015-02-10 14:01 -0800
          Re: Definition of a script in JavaScript "Christoph M. Becker" <cmbecker69@arcor.de> - 2015-02-18 01:30 +0100
            Re: Definition of a script in JavaScript Scott Sauyet <scott.sauyet@gmail.com> - 2015-02-18 13:11 -0800
              Re: Definition of a script in JavaScript "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2015-02-20 11:35 -0800
                Re: Definition of a script in JavaScript "Christoph M. Becker" <cmbecker69@arcor.de> - 2015-02-21 01:56 +0100
                Re: Definition of a script in JavaScript Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-02-21 16:53 +0100
              Re: Definition of a script in JavaScript "Christoph M. Becker" <cmbecker69@arcor.de> - 2015-02-21 01:41 +0100
        Re: Definition of a script in JavaScript Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-02-21 17:37 +0100

csiph-web