I have the following nested javascript collection (below) and I'm trying to access the information within the collection using prototype so I can properly style and layout the data. I'm stuck and would like to know if anybody could assist.
var teams = {
"team1:" {
"QB": "Alexander Hamilton",
"RB": "John Jay",
"WR": "James Madison"
},
"team2: {
"QB": "George Washington",
"RB": "John Adams",
"WR": "John Hancock"
}
};