I have an object.
players = {
{
name:'a',
class:'V'
},
{
name:'b',
class:'VI'
}
}
I want to iterate each element of this object i.e. each player from the players object
this can be done easily in javascript but how to do it in node. usual methods in node gives something different.