Jabbed Array


#1

I want to iterate jabbed array. I tried for iterating normal array with equal number of rows and collumns and i did this

var newArray = [["hello",true,2],["sourav",4,false],[6,"suman",3]];
for(i=0;i var j = 0;
for(;j console.log(newArray[i][j])
}
}


#2

Wow @cloudplayer31830! Did you accidently forgot to put your incremental/decremental there? i was just wondering! And when you request help please select your code and hit CTRL + K To format it properly! Thank you! Made the part Bold in whitch you forgot to but the incremental/decremental.


#3

yes, i think i did accidentally forgot to put the increment/decrement part in for loop