title: Accessing resolved promise object properties
body: <p>I'm having trouble accessing resolved promise object properties.</p>
  
  <p>Using fetch, I have a <code>.then</code> doing this:</p>
  
  <p><code>.then((response) =&gt; console.log(response.json()))</code></p>
  
  <p>I'm trying to access the <code>user</code> property of the response object by doing this:</p>
  
  <p><code>.then((response) =&gt; console.log(response.json().user))</code></p>
  
  <p>and it's returning <code>undefined</code></p>
  
  <p>What is the correct way to do this?</p>