SyntaxFix
Write A Post
Hire A Developer
Questions
To access the properties of an object without knowing the names of those properties you can use a for ... in loop:
for ... in
for(key in data) { if(data.hasOwnProperty(key)) { var value = data[key]; //do something with value; } }