title: How change value's property of array object (about google maps) in javascript?
body: <p>Hello i have a marker in <code>Google Maps v 3.20</code>:</p>
  
  <pre><code>var markers= [];
  
      var marker = new google.maps.Marker({
          position: latLng,
          map: map,
          icon: image,
          info: '&lt;span&gt;Data: &lt;b&gt;'+orario+'&lt;/b&gt;&lt;br&gt;',
          zIndex: milliseconds //is a time stamp
      }); 
      markers.push(marker);
  </code></pre>
  
  <p>I have to change the value of <code>info</code> and replace variable <code>orario</code> with other...</p>
  
  <p>i don't know like to do this...</p>
  
  <p>with <code>console.log(markers)</code> i have that marker is this:</p>
  
  <pre><code>__e3_: Object { click: {…} }
  __gm: Object { set: {…}, Jd: {…}, Nb: {…} }
  anchorPoint: Object { x: -3, y: -6, b: true }
  changed: function HU/this.m()
  clickable: true
  closure_uid_131918504: 4
  gm_accessors_: Object { position: null, map: null, icon: null, … }
  gm_bindings_: Object { position: {}, map: {}, icon: {}, … }
  icon: Object { url: "file:///C:/Users/amministratore/Desktop/terr/1.png", size: {…}, origin: {…}, … }
  info: "&lt;span&gt;Data: &lt;b&gt;2017-12-15  12:54:22  UTC&lt;/b&gt;&lt;br&gt;"
  internalPosition: Object { lat: _.F/this.lat(), lng: _.F/this.lng() }
  map: {…}
  W: undefined
  __e3_: Object { resize: {…}, center_changed: {}, zoom_changed: {…}, … }
  __gm: Object { R: div#map_canvas, b: {…}, B: {…}, … }
  center: Object { lat: _.F/this.lat(), lng: _.F/this.lng() }
  controls: Array [ &lt;1 empty slot&gt;, {…}, {…}, … ]
  data: Object { gm_accessors_: {…}, map: {…}, j: false, … }
  features: Object {  }
  gm_accessors_: Object { zoom: null, center: null, mapTypeId: null, … }
  gm_bindings_: Object { reportErrorControl: […], zoom: {…}, center: {…}, … }
  mapDataProviders: "Map data ©2017 Google, INEGI"
  mapTypeControl: true
  mapTypeId: "roadmap"
  mapTypes: Object { gm_accessors_: {…}, roadmap: {…}, gm_bindings_: {…}, … }
  mapUrl: "https://maps.google.com/maps?ll=0,0&amp;z=3&amp;t=m&amp;hl=en-US&amp;gl=USapclient=apiv3"
  overlayMapTypes: Object { b: [], gm_accessors_: {…}, length: 0, … }
  streetView: Object { j: false, m: false, standAlone: false, … }
  styles: Array [ {…}, {…}, {…} ]
  tilt: 0
  tosUrl: "https://www.google.com/intl/en-US_US/help/terms_maps.html"
  zoom: 3
  zoomControl: true
  __proto__: Object { constructor: tg(),  streetView_changed:_.k.streetView_changed(), getDiv: _.k.getDiv(), … }
  position: Object { lat: _.F/this.lat(), lng: _.F/this.lng() }
  visible: true
  zIndex: 1513342462000
  __proto__: Object { constructor: _.Le(), map_changed:   _.Le.prototype.map_changed(), getMap: _.od/&lt;(), … }
  </code></pre>
  
  <p>but i don't know index of <code>info</code> (and its value).</p>
  
  <p>so with <code>console.log(Object.getOwnPropertyDescriptor(markers[0],'info')</code> return that info element is this:</p>
  
  <pre><code>configurable: true
  enumerable: true
  value: "&lt;span&gt;Data: &lt;b&gt;2017-12-15  12:54:22  UTC&lt;/b&gt;&lt;br&gt;"
  writable: true
  __proto__: Object { … }
  </code></pre>
  
  <p>if i print <code>markers[9][2]</code>return <strong>undefined</strong></p>