Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #38952
| From | Ben Bacarisse <ben.usenet@bsb.me.uk> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | Re: How can I make “i” from a main loop reflect the times that an inner loop inside that main loop runs |
| Date | 2020-10-14 23:45 +0100 |
| Organization | A noiseless patient Spider |
| Message-ID | <87y2k8qves.fsf@bsb.me.uk> (permalink) |
| References | <1660ec09-67d0-4224-b1b4-0a14023ae98dn@googlegroups.com> |
Diego Leonardo Robayo bernal <dr2882@columbia.edu> writes: <cut> > Find the code here: > > https://stackoverflow.com/questions/64357143/how-can-i-make-i-from-a-main-loop-reflect-the-times-that-an-inner-loop-inside You'll get better answers if you post the code here. Try, also, to cut the example down. > How can I make the i in the main loop to reflect the times that the > loop inside typeDelay(i) ran. I think you have a bigger problem: the "main loop" is likely to have finished before any of the code triggered by setTimeout even runs. -- Ben.
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
How can I make “i” from a main loop reflect the times that an inner loop inside that main loop runs Diego Leonardo Robayo bernal <dr2882@columbia.edu> - 2020-10-14 13:34 -0700
Re: How can I make “i” from a main loop reflect the times that an inner loop inside that main loop runs Ben Bacarisse <ben.usenet@bsb.me.uk> - 2020-10-14 23:45 +0100
Re: How can I make “i” from a main loop reflect the times that an inner loop inside that main loop runs JJ <jj4public@gmail.com> - 2020-10-15 11:26 +0700
Re: How can I make “i” from a main loop reflect the times that an inner loop inside that main loop runs Julio Di Egidio <julio@diegidio.name> - 2020-10-15 07:47 -0700
Re: How can I make “i” from a main loop reflect the times that an inner loop inside that main loop runs Diego Leonardo Robayo bernal <dr2882@columbia.edu> - 2020-10-16 12:38 -0700
csiph-web