Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

declaring two variables inside for loop

for (var i = 1, j = 1; i < n & j < n; i++,j++){
    console.log(array[i][j]);
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #declaring #variables #loop
ADD COMMENT
Topic
Name
2+7 =