Check out example codes for "reduce an array of objects to string". It will help you in understanding the concepts better.

Code Example 1

var authors = [{
  name: "a"
}, {
  name: "b"
}, {
  name: "c"
}];
var result = authors.reduce(function(author, val, index) {
  var comma = author.length ? ", " : "";
  return author + comma + val.name;
}, '');
console.log(result);

Learn ReactJs, React Native from akashmittal.com