I'm working on a discord bot in node js and i need to get the length of the 2 dimentions of a 2d array. My array is structurated like this, that algo get expanded at the bottom when needed:
var users = [["","","","",""]];
now i need to know how to get the dimentions. i was originaly doing like this, but it didn't work 🙃.
// for the y length
users.length
// for the x length
users[i].length
hope you can help
thanks in advance
Enrico 😊