Re: Using equality in 'for' loop - why not?
Thanks to everyone - really! I just wish FAQs etc. Made this clear.
Running several FAQs myself I know how things I see as 'obvious' aren't
to a newbie and there's oftenno way to guess your way to expertise.
Request for addition to the n/g's FAQ? In that vein I'd also request I'd
also suggest a note to explain the safe version of var i++. Users of the
wonderful JS Lint are told it is dangerous to use. Why, is less clear;
put your JS smarts aside and try to find an explanation online - that a
newbie understands - and more importantly, a description of what you use
instead (I believe it is i+=1 ).
Thanks again to everyone for haring, now I truly understand why the
books are so cra*p and what I was doing wrong after reading them.
Regards
Mark
Thanks to everyone - really! I just wish FAQs etc. Made this clear.
Running several FAQs myself I know how things I see as 'obvious' aren't
to a newbie and there's oftenno way to guess your way to expertise.
Request for addition to the n/g's FAQ? In that vein I'd also request I'd
also suggest a note to explain the safe version of var i++. Users of the
wonderful JS Lint are told it is dangerous to use. Why, is less clear;
put your JS smarts aside and try to find an explanation online - that a
newbie understands - and more importantly, a description of what you use
instead (I believe it is i+=1 ).
Thanks again to everyone for haring, now I truly understand why the
books are so cra*p and what I was doing wrong after reading them.
Regards
Mark
Comment