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


Groups > comp.lang.javascript > #28060

Re: Calling constructor function with or without new

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From Thomas 'PointedEars' Lahn <PointedEars@web.de>
Newsgroups comp.lang.javascript
Subject Re: Calling constructor function with or without new
Date Tue, 09 Jun 2015 18:32:09 +0200
Organization PointedEars Software (PES)
Lines 46
Message-ID <2573728.VVFZz2FXTb@PointedEars.de> (permalink)
References <55745048$0$13014$c3e8da3$5496439d@news.astraweb.com> <ml2021$1at3$1@adenine.netfront.net> <ml2osq$3q6$1@speranza.aioe.org> <4020474.azVoJSYf4R@PointedEars.de> <ml71mq$4ec$1@speranza.aioe.org>
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 1433867703 26738 eJwFwQkRwEAIBDBLfLsFOQcD/iU0gVM5XxAMHC4oyJGonommscG0yH2pbd1TJV60zXumvj8LxBCk (9 Jun 2015 16:35:03 GMT)
X-Complaints-To abuse@news.solani.org
NNTP-Posting-Date Tue, 9 Jun 2015 16:35:03 +0000 (UTC)
User-Agent KNode/4.14.2
X-User-ID eJwFwYEBwDAEBMCV6PNiHBH2H6F3Dio7jE7z9eUURJJ2G41h2/NAqUXGgaAyp5JxA9/TResjIMd9jtvyBzoKFII=
Cancel-Lock sha1:Tl9E80bF6bcSupYKSCSfgNqurlk=
X-NNTP-Posting-Host eJwFwQkBACAIA8BKyHjjqLj+EbxzxIqbFh7mdNoB7PXwzi5LAVnKkjHFdKUzajWx5Tx5rR8g1REW
Xref csiph.com comp.lang.javascript:28060

Show key headers only | View raw


Joao Rodrigues wrote:

> On 09/06/2015 10:05, Thomas 'PointedEars' Lahn wrote:
>> Joao Rodrigues wrote:
>>> On 07/06/15 14:46, Martin Honnen wrote:
>>>> Steven D'Aprano wrote:
>>>> As you use Rhino which I think did never get updated to implement
>>>> ECMAScript 5 you might want to download
>>>> http://www.ecma-international.org/publications/files/ECMA-ST-ARCH/ECMA-262,%203rd%20edition,%20December%201999.pdf
>>>> […]
>>>
>>> One can read the online version at:
>>> <http://ecma-international.org/ecma-262/5.1/#sec-15.7.1>
>>> <http://ecma-international.org/ecma-262/5.1/#sec-9.3>
>> 
>> No, those are the *non-normative* versions of the *5.1* Edition.
> 
> ACK the wrong edition (5.1 instead of the 3rd edition), but not the
> "non-normative".

Wrong.

> One can read the preamble of the HTML version [1]

Why don’t you?

> which states the following:
> 
> | This is the HTML rendering of Ecma-262 Edition 5.1, The ECMAScript
> | Language Specification.
> |
> | The PDF rendering of this document is located at http://www.ecma-> | international.org/ecma-262/5.1/ECMA-262.pdf.
> |
> | The PDF version is the definitive specification. Any discrepancies
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> | between this HTML version and the PDF version are unintentional.

AISB, the HTML version is _not_ the normative (or, as Jason Orendorff put it 
there, the "definitive") one.  It never was.  The PDF versions are those 
that the Ecma International General Assembly voted on, the *normative* ones.

-- 
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 | Next in thread | Find similar | Unroll thread


Thread

Calling constructor function with or without new Steven D'Aprano <steve@pearwood.info> - 2015-06-08 00:08 +1000
  Re: Calling constructor function with or without new Martin Honnen <mahotrash@yahoo.de> - 2015-06-07 19:46 +0200
    Re: Calling constructor function with or without new Joao Rodrigues <groups_jr-1@yahoo.com.br> - 2015-06-07 21:50 -0300
      Re: Calling constructor function with or without new Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-06-09 15:05 +0200
        Re: Calling constructor function with or without new Joao Rodrigues <groups_jr-1@yahoo.com.br> - 2015-06-09 12:45 -0300
          Re: Calling constructor function with or without new Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-06-09 18:32 +0200
            Re: Calling constructor function with or without new Joao Rodrigues <groups_jr-1@yahoo.com.br> - 2015-06-09 14:51 -0300
              Re: Calling constructor function with or without new Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-06-09 22:39 +0200
                Re: Calling constructor function with or without new Joao Rodrigues <groups_jr-1@yahoo.com.br> - 2015-06-09 19:36 -0300
                Re: Calling constructor function with or without new Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-06-10 18:14 +0200
                Re: Calling constructor function with or without new Joao Rodrigues <groups_jr-1@yahoo.com.br> - 2015-06-10 14:13 -0300
                Re: Calling constructor function with or without new Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-06-10 19:34 +0200
                Re: Calling constructor function with or without new Joao Rodrigues <groups_jr-1@yahoo.com.br> - 2015-06-10 14:57 -0300
                Re: Calling constructor function with or without new Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-06-10 20:00 +0200
                Re: Calling constructor function with or without new Dr J R Stockton <reply1500@merlyn.demon.co.uk.invalid> - 2015-06-11 21:44 +0100
                Re: Calling constructor function with or without new Hans-Georg Michna <hans-georgNoEmailPlease@michna.com> - 2015-06-11 10:36 +0200
                Re: Calling constructor function with or without new Scott Sauyet <scott.sauyet@gmail.com> - 2015-06-11 06:16 -0700
                Re: Calling constructor function with or without new "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2015-06-11 20:40 -0700

csiph-web