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


Groups > comp.lang.javascript > #32984

Re: Understanding someone's code

Path csiph.com!weretis.net!feeder4.news.weretis.net!feeder5.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From Thomas 'PointedEars' Lahn <PointedEars@web.de>
Newsgroups comp.lang.javascript
Subject Re: Understanding someone's code
Date Mon, 10 Apr 2017 05:00:46 +0200
Organization PointedEars Software (PES)
Lines 29
Message-ID <1879013.ucPXOAX30I@PointedEars.de> (permalink)
References <WumdnYlb48xrFUHFnZ2dnUU7-K_NnZ2d@westnet.com.au> <34qdnaF51IrJJUHFnZ2dnUU7-WednZ2d@westnet.com.au> <2373677.mvXUDI8C0e@PointedEars.de> <cd8sdcp67fc0i1358uklik8t3dcpifp8f3@4ax.com> <2865491.44csPzL39Z@PointedEars.de> <59f2ec1mhao1p6qkqlok3dor0s3slsmpni@4ax.com>
Reply-To Thomas 'PointedEars' Lahn <cljs@PointedEars.de>
Mime-Version 1.0
Content-Type text/plain; charset="UTF-8"
Content-Transfer-Encoding 8Bit
X-Trace solani.org 1491793246 10443 eJwFwQcBgAAMAzBLW9kBOXv1L4HEn9CYtPAwp1M418P7uFoLhx2vl5UFrnSIAcjZXL/X9AdTRhJ2 (10 Apr 2017 03:00:46 GMT)
X-Complaints-To abuse@news.solani.org
NNTP-Posting-Date Mon, 10 Apr 2017 03:00:46 +0000 (UTC)
User-Agent KNode/4.14.2
Face iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEXTxa4RFk5dUWANED8PFEfy7+MGBiW+n3ZNF/QuAAACaElEQVQ4jVXUwVOcMBQG8Dc7Rc4PUntdWV2uxjDpGaGeozOp1woar4jd5t/v9wLstMwsA/ntlxdCAgUc1hjTc9/JCZfGoo3wG3HdmdAWrIJRHe7GM/TmpY5VFefuVcAkkPbLIaN8rmPmjloyZxgyR3GuJ4K0AGtJ2htz8o7yqikm759fldQXaMpbDzjK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enkUI4X8RonYpSrnld74p9jpoXSw==
Xref csiph.com comp.lang.javascript:32984

Show key headers only | View raw


John G Harris wrote:

> […] Thomas 'PointedEars' Lahn […] wrote:
>> John G Harris wrote:
>>> [2] Note that a variable is defined to be a property.
>> The concept of a Variable Object of an execution context, with the
>> identifiers of variables declared in it as the names of its properties,
>> was superseded by the concept of a “VariableEnvironment” “Lexical
>> Environment whose EnvironmentRecord holds bindings created by
>> VariableStatements within” an execution context in ECMAScript Edition
>> 5(.1) (2009-12, 2011-06). See also ES 2016, § 8.3.
> 
> True, I missed that, but variables have the same allowed Value types
> as do properties: […]

Correct, but irrelevant.  In the majority of cases, i.e. in the majority
of currently used implementations of ECMAScript, variables are _not_ 
properties; contrary to your statement.  And without further qualification, 
“ECMAScript” ought to refer to the current Edition of ECMAScript (here).

Your newsreader is broken: it has mangled properly declared and encoded 
Unicode characters in my posting when you quoted it.  See also RFC 5536, 
section “MIME Conformance”.
 
-- 
PointedEars
FAQ: <http://PointedEars.de/faq> | <http://PointedEars.de/es-matrix>
<https://github.com/PointedEars> | <http://PointedEars.de/wsvn/>
Twitter: @PointedEars2 | Please do not cc me./Bitte keine Kopien per E-Mail.

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


Thread

Understanding someone's code Andrew Poulos <ap_prog@hotmail.com> - 2017-03-30 15:26 +1100
  Re: Understanding someone's code Andrew Poulos <ap_prog@hotmail.com> - 2017-03-30 18:48 +1100
    Re: Understanding someone's code "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-03-30 12:07 +0200
      Re: Understanding someone's code tony@mountifield.org (Tony Mountifield) - 2017-03-30 11:43 +0000
        Re: Understanding someone's code "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-03-30 14:00 +0200
          Re: Understanding someone's code tony@mountifield.org (Tony Mountifield) - 2017-03-30 13:44 +0000
            Re: Understanding someone's code "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-03-30 19:07 +0200
    Re: Understanding someone's code JJ <jj4public@vfemail.net> - 2017-03-30 18:58 +0700
      Re: Understanding someone's code Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-03-30 18:13 +0200
    Re: Understanding someone's code Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-03-30 18:13 +0200
      Re: Understanding someone's code John G Harris <niam@jghnorth.org.uk.invalid> - 2017-03-31 10:30 +0100
        Re: Understanding someone's code Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-04-02 14:41 +0200
          Re: Understanding someone's code John G Harris <niam@jghnorth.org.uk.invalid> - 2017-04-02 19:05 +0100
            Re: Understanding someone's code Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-04-10 05:00 +0200
              Re: Understanding someone's code John G Harris <niam@jghnorth.org.uk.invalid> - 2017-04-10 10:03 +0100

csiph-web