groups
но и rows
?for (var i = 0; i < users.groups.length; i++) {
console.log(users.groups[i].rows[0)
}
[[1,2,3],[4,5,6],[7,8,9]].forEach(
(row,i)=>(
console.log("row = "+i),
row.forEach(
(col,n)=>(
console.log("col = "+n),
console.log(col)
)
)
)
)
var arr = [[1,2,3],[4,5,6],[7,8,9]];
for(let i = 0; i < arr.length ; i++){
for(let n = 0; n < arr[i].length ; n++){
console.log(arr[i][n]);
}
}