Last active
August 28, 2019 13:18
-
-
Save thecodemedia/a481e2bdb5fc701fa83c72de95ca81cb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//i — номер элемента, от 0 до 5 | |
for (var i = 0; i < 6; i++) { | |
//j — номер ячейки, от 0 до 1 | |
for(var j =0; j <2; j++){ | |
//на каждом шаге цикла значения i и j меняются | |
console.log(massiv_2[i][j]); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment