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


Groups > comp.lang.javascript > #26408

Re: simple error

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.datemas.de!weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From "Christoph M. Becker" <cmbecker69@arcor.de>
Newsgroups comp.lang.javascript
Subject Re: simple error
Date Mon, 29 Dec 2014 01:08:44 +0100
Organization solani.org
Lines 26
Message-ID <m7q629$133$1@solani.org> (permalink)
References <m7pdlm$1ju$1@gregory.bnet.hr> <m7pj64$8tp$1@dont-email.me> <m7pknl$is1$1@dont-email.me> <m7q353$8tp$2@dont-email.me>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 8bit
X-Trace solani.org 1419811721 1123 eJwNw4ENwDAIA7CXBiRA34E1/5+wWTIjLbeQTFAUvDUOX+mdgqv/o+WcJww3k7fdZk/VWcYHJH0REg== (29 Dec 2014 00:08:41 GMT)
X-Complaints-To abuse@news.solani.org
NNTP-Posting-Date Mon, 29 Dec 2014 00:08:41 +0000 (UTC)
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0
X-User-ID eJwFwYEBwDAEBMCVCP9qHCX2HyF3MCo7nKBjsVFTzYRwfxaO5Poa2z6cbo26xiualMCUzQMfTxEA
In-Reply-To <m7q353$8tp$2@dont-email.me>
Cancel-Lock sha1:zp6WCVFsq2/FQK6Atlz/rZzENzY=
X-NNTP-Posting-Host eJwNyMEBwCAIA8CVBEnQcYA2+4/Q3vOwaZwMggFBcchdDqgP39J5vCzu6skekl5/yLKCs3TzAxq5ETU=
Xref csiph.com comp.lang.javascript:26408

Show key headers only | View raw


Denis McMahon wrote:

> On Sun, 28 Dec 2014 21:13:14 +0200, Jukka K. Korpela wrote:
> 
>> 2014-12-28, 20:46, Denis McMahon kirjoitti:
>>
>>> (`) might also work (it does in my firefox at least).
>>
>> That’s not advisable. It does not work in other browsers, and it’s not
>> described in any standard or reference. It seems to be a nonstandard
>> feature in Firefox that grave accent (“backtick”, `) characters are
>> recognized as string literal delimiters.
> 
> I wonder if that's a generic thing with the script engine in firefox.

I just found the explanation: "template literals" are an experimental
technology, part of the ECMAScript 6 proposal.[1][2]

[1]
<https://people.mozilla.org/~jorendorff/es6-draft.html#sec-template-literal-lexical-components>
[2]
<https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/template_strings>

-- 
Christoph M. Becker

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


Thread

simple error Haris Bogdanovich <haris.bogdanovic@gmail.com> - 2014-12-28 18:12 +0100
  Re: simple error Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-12-28 18:25 +0100
    Re: simple error "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2014-12-28 21:00 +0200
      Re: simple error Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-12-28 21:32 +0100
        Re: simple error "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2014-12-28 23:56 +0200
  Re: simple error Denis McMahon <denismfmcmahon@gmail.com> - 2014-12-28 18:46 +0000
    Re: simple error "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2014-12-28 21:13 +0200
      Re: simple error Denis McMahon <denismfmcmahon@gmail.com> - 2014-12-28 23:19 +0000
        Re: simple error Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-12-29 01:03 +0100
        Re: simple error "Christoph M. Becker" <cmbecker69@arcor.de> - 2014-12-29 01:08 +0100
    Re: simple error Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-12-28 20:13 +0100
      Re: simple error "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2014-12-28 22:30 +0200
        Re: simple error Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-12-28 21:44 +0100
          Re: simple error "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2014-12-28 23:50 +0200
            Re: simple error "Christoph M. Becker" <cmbecker69@arcor.de> - 2014-12-28 23:10 +0100
              Re: simple error Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-12-29 03:10 +0100
                Re: simple error "Christoph M. Becker" <cmbecker69@arcor.de> - 2014-12-29 13:17 +0100
                Re: simple error Tim Streater <timstreater@greenbee.net> - 2014-12-29 12:30 +0000
                Re: simple error "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2014-12-29 14:49 +0200
                Re: simple error Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-12-29 15:18 +0100
              Re: simple error "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2014-12-29 08:20 +0200
                Re: simple error "Christoph M. Becker" <cmbecker69@arcor.de> - 2014-12-29 12:36 +0100
                Re: simple error Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-12-29 15:40 +0100
            Re: simple error Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-12-29 01:04 +0100
              Re: simple error "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2014-12-29 08:09 +0200

csiph-web