title: How to print JSON data to the console only after fetch in React Native?
body: <p>I have tried the following code:</p>
  
  <pre><code>const response =await fetch('https://facebook.github.io/react-native/movies.json');
  const json= await response.json();
  console.log(json.result);
  </code></pre>
  
  <p>to print fetched JSON data to the console but it's not working. How can I write fetched data directly to console?</p>