const numbers = array.map(function (n)) {
  return n.name;
}