title: Why can I access the whole JSON object but not not sub sections of it?
body: <p>Requesting data from the mapbox API I can print the whole JSON object to the console but when I try and print some of the "sub objects" I get "Uncaught TypeError: Cannot read property 'x' of undefined" error.</p>
  
  <p>In Chrome dev tools I can print out the sub object fine.</p>
  
  <pre><code>var suggestedLocationsReturn = $.get("https://api.mapbox.com/geocoding/v5/mapbox.places/Los%20Angeles.json?access_token=MY_API_KEY", 'json');
  </code></pre>
  
  <p>This prints the object fine</p>
  
  <pre><code>console.log(suggestedLocationsReturn);
  </code></pre>
  
  <p>This throws the error</p>
  
  <pre><code>console.log(suggestedLocationsReturn.responseJSON.features[0].place_name);
  </code></pre>
  
  <p>But running the above line in the Chrome dev tools console displays the data as expected.</p>