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 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> References: Reply-To: Thomas 'PointedEars' Lahn 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 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: | SVN: Twitter: @PointedEars2 | ES Matrix: Please do not cc me. / Bitte keine Kopien per E-Mail.