I'm confused on how can I loop through this, to display all the names?
var x = [
           { "name":[{"value":"John"}] }, 
           { "name":[{"value":"Sam"}] },
           { "name":[{"value":"Michael"}] }
        ]
For example with the following, but how do I access the arrays?
   var a = ["a", "b", "c"];
       a.forEach(function(entry) {
       console.log(entry);
   });
 
    