title: javascript - can't access property of an object using its key?
body: <p>in Google Earth Editor, we've created an object using the reduceRegion() function: </p>
  
  <pre><code>var meanValue2015 = ndvi2015.reduceRegion({
    reducer: ee.Reducer.mean(),
    geometry: justEC15.geometry(),
    crs: 'EPSG:4326',
    scale: 30,
  });
  </code></pre>
  
  <p>My issue is that meanValue2015 appears to be an object - I input</p>
  
  <pre><code>print(meanValue2015);
  print(typeof(meanValue2015));
  print(Object.keys(meanValue2015));
  </code></pre>
  
  <p>and get "Object (1 property) - NDVI: 0.3177...", "Object", and then "[ ]" respectively? And then </p>
  
  <pre><code>print(meanValue2015.NDVI);
  print(meanValue2015['NDVI']);
  </code></pre>
  
  <p>is undefined? Is there something obvious I'm doing wrong here?</p>