GNU bug report logs - #29798
24.3; Javascript: Too much indentation with + and -

Previous Next

Package: emacs;

Reported by: Gavin Haynes <haynes.gt <at> gmail.com>

Date: Thu, 21 Dec 2017 07:58:02 UTC

Severity: wishlist

Tags: confirmed

Found in versions 28.0.50, 24.3

Full log


View this message in rfc822 format

From: Gavin Haynes <haynes.gt <at> gmail.com>
To: Dmitry Gutov <dgutov <at> yandex.ru>
Cc: 29798 <at> debbugs.gnu.org
Subject: bug#29798: 24.3; Javascript: Too much indentation with + and -
Date: Thu, 21 Dec 2017 10:50:33 +0000
[Message part 1 (text/plain, inline)]
Perhaps. Anyway, you can get the same behaviour with this code:

console.log(
   -2,
  2
);

On Thu, Dec 21, 2017 at 2:45 AM Dmitry Gutov <dgutov <at> yandex.ru> wrote:

> Hi Gavin,
>
> On 12/21/17 9:53 AM, Gavin Haynes wrote:
> > { -2, 2, +2 }
>
> What does this mean in JavaScript? Is this a block with comma-separated
> statements?
>
[Message part 2 (text/html, inline)]

This bug report was last modified 3 years and 215 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.