Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to loop through something in node.js


var rooms = {
 room1 = "R1",
  room2 = "R2",
}

for (var i in rooms) {
      console.log(i);
   }
 
PREVIOUS NEXT
Tagged: #loop
ADD COMMENT
Topic
Name
4+1 =