Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #37328
| Newsgroups | comp.lang.javascript |
|---|---|
| Date | 2019-09-22 06:57 -0700 |
| References | <f27ce718-9b0b-4641-86f1-bfc079462875@googlegroups.com> <qm7tik$cpf$1@gioia.aioe.org> |
| Message-ID | <cd7c77cd-28a1-4ea9-9296-b393b79a44bc@googlegroups.com> (permalink) |
| Subject | Re: What does this line of code mean? |
| From | Julio Di Egidio <julio@diegidio.name> |
On Sunday, 22 September 2019 15:39:41 UTC+2, R.Wieser wrote: > groovee, > > > I always thought the 3rd thing in a "for" HAD to be "something++" > > or "something--" > > Both "something++" and or "something--" are just changing "something". In > your described cases, by one. > > But you can write "something++" differently. Like "something += 1" or even > "something = something + 1". All three wil work (try it!). > > And with any assignment you can put whole calculations at the right of the > "=" (like "anything = anything / 2 + 1"), or even expressions which calls > other functions and/or methods. Which is what happens in your case. > > Hope that helps. The question was already answered and pretty decently so, and you too just post over it, you other piece of shit and resident troll, just always vouching for doing the wrong thing, in your case the freedom to be a selfish retard and hero of your own time. Julio
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
What does this line of code mean? groovee@cyberdude.com - 2019-09-21 11:15 -0700
Re: What does this line of code mean? Jon Ribbens <jon+usenet@unequivocal.eu> - 2019-09-21 18:30 +0000
Re: What does this line of code mean? John G Harris <niam@jghnorth.org.uk.invalid> - 2019-09-22 11:25 +0100
Re: What does this line of code mean? Julio Di Egidio <julio@diegidio.name> - 2019-09-22 04:53 -0700
Re: What does this line of code mean? John G Harris <niam@jghnorth.org.uk.invalid> - 2019-09-22 15:40 +0100
Re: What does this line of code mean? "R.Wieser" <address@not.available> - 2019-09-22 19:01 +0200
Re: What does this line of code mean? John G Harris <niam@jghnorth.org.uk.invalid> - 2019-09-23 11:13 +0100
Re: What does this line of code mean? "R.Wieser" <address@not.available> - 2019-09-23 14:15 +0200
Re: What does this line of code mean? groovee@cyberdude.com - 2019-09-25 12:20 -0700
Re: What does this line of code mean? "R.Wieser" <address@not.available> - 2019-09-22 15:39 +0200
Re: What does this line of code mean? Julio Di Egidio <julio@diegidio.name> - 2019-09-22 06:57 -0700
Re: What does this line of code mean? "R.Wieser" <address@not.available> - 2019-09-22 18:49 +0200
csiph-web