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


Groups > it.comp.java > #9305

Re: operatore unario ++

From "Dr.UgoGagliardelli" <do.not.spam@me.please>
Newsgroups it.comp.java
Subject Re: operatore unario ++
Date 2019-07-15 16:08 +0200
Organization Aioe.org NNTP Server
Message-ID <qgi1fb$lgj$1@gioia.aioe.org> (permalink)
References <qghl9j$s5s$1@gioia.aioe.org>

Show all headers | View raw


Il 15.07.2019 12.41, Annibale ha scritto:
> <script>
> 
> 
> var n = 9;
> var x = 9;
> 
> n
> ++
> x
> document.write(n +"  " + x);
> 
> 
> </script>
> 
> Stranamente stampa  9  10
> 
> cioè incrementa la x
> 
> Come mai?
> 
> Grazie
Mancano i ; che terminano gli statement.

Back to it.comp.java | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

operatore unario ++ Annibale <vannnnia1991@gmail.com> - 2019-07-15 12:41 +0200
  Re: operatore unario ++ "Dr.UgoGagliardelli" <do.not.spam@me.please> - 2019-07-15 16:08 +0200
    Re: operatore unario ++ Annibale <vannnnia1991@gmail.com> - 2019-07-15 20:06 +0200
      Re: operatore unario ++ "Dr.UgoGagliardelli" <do.not.spam@me.please> - 2019-07-15 20:08 +0200

csiph-web