Cómo recorrer algo en Node.js
var rooms = {
room1 = "R1",
room2 = "R2",
}
for (var i in rooms) {
console.log(i);
}
Hungry Hornet
var rooms = {
room1 = "R1",
room2 = "R2",
}
for (var i in rooms) {
console.log(i);
}