Jquery/javascript -how to loop through array and create variables in each iteration?

You should write something like: if (longest. Length >= 3) { var $last = ; for ( var I = 0; I = 3) { var hash = {}; for ( var I = 0; I Length - 1 ; } } and get the content using for instance hash. $last0.

This is ok if you have just 2 levels of arrays, if you have more, it needs to recurse – Mic Oct 21 at 19:31 longest. Length-1 is a bit strange as you will never reach the last element of longest – Mic Oct 21 at 19:33 Your first snippet works perfectly!THANKS. I'll probably be dreaming "array-style" tonight... – frequent Oct 21 at 19:49.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions