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


Groups > comp.lang.javascript > #27964

Re: Style: new String( "abc" )

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!news2.arglkargh.de!news.mixmin.net!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: Style: new String( "abc" )
Date Tue, 02 Jun 2015 22:27:40 +0200
Organization PointedEars Software (PES)
Lines 17
Message-ID <2130550.8QLrkFYiEJ@PointedEars.de> (permalink)
References <new-style-20150602185946@ram.dialup.fu-berlin.de> <mkl000$bif$1@news.albasani.net>
Reply-To Thomas 'PointedEars' Lahn <cljs@PointedEars.de>
Mime-Version 1.0
Content-Type text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding 7Bit
X-Trace solani.org 1433277022 19490 eJwFwYkBADAEBLCVPEcZp5T9R2hi6ux94OawtWWZ55FakKcioQEi4lreudaR/DBduIKcM/kBCe8Qzw== (2 Jun 2015 20:30:22 GMT)
X-Complaints-To abuse@news.solani.org
NNTP-Posting-Date Tue, 2 Jun 2015 20:30:22 +0000 (UTC)
User-Agent KNode/4.14.2
X-User-ID eJwNyMEBwCAIA8CVkEDUcYTo/iO097wEB3sGk5EvH+ukpKM+iBbqatWOkQ4jtfcreJm0AJeuObu6DcS/c32GyhZq
Cancel-Lock sha1:xaLpZz8Q/QcnclXcgVcRybkSIOA=
X-NNTP-Posting-Host eJwFwQkBwDAIA0BLUCC0csYT/xJ2FwZFpyPgweB2gVJzZijxWW6qXt01QJ9XiT9jsox98/AHMZARlQ==
Xref csiph.com comp.lang.javascript:27964

Show key headers only | View raw


Andreas Bergmaier wrote:

> Stefan Ram schrieb:
>>  the primitve "abc" was implicitly converted
>>  into an object /three times/.
> 
> In the old times, maybe. Current compilers don't convert anything to an
> object any more here, they just call the native
> `String.prototype.charAt` method directly on the primitive value.

Cite evidence.

-- 
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

Re: Style: new String( "abc" ) Andreas Bergmaier <andber93@web.de> - 2015-06-02 21:25 +0200
  Re: Style: new String( "abc" ) Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-06-02 22:27 +0200
    Re: Style: new String( "abc" ) Andreas Bergmaier <andber93@web.de> - 2015-06-02 23:51 +0200
      Re: Style: new String( "abc" ) Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-06-03 01:17 +0200
        Re: Style: new String( "abc" ) Andreas Bergmaier <andber93@web.de> - 2015-06-03 06:22 +0200
          Re: Style: new String( "abc" ) Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-06-03 07:57 +0200
            Re: Style: new String( "abc" ) Andreas Bergmaier <andber93@web.de> - 2015-06-03 18:36 +0200
          Re: Style: new String( "abc" ) John Harris <niam@jghnorth.org.uk.invalid> - 2015-06-03 15:38 +0100

csiph-web