title: JSON.stringify not working on navigator.connection How to resolve?
body: <p>On second console it showing some data but empty on first console log. How can I resolve this issue?</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>var Network_data = navigator.connection;
  console.log(JSON.stringify(Network_data));
  console.log(Network_data);</code></pre>
  </div>
  </div>
  </p>