title: Result is getting twice by using console.log in javascript
body: <p>I am new in Javascript and play around with some stuff.
  In Chrome console I written this code.</p>
  
  <pre><code>var a;
  console.log(a)
  </code></pre>
  
  <p><strong>Output:</strong><code>undefined undefined</code></p>
  
  <p>Can anybody pls explane me why I am getting twice?. </p>
  
  <p><a href="https://i.stack.imgur.com/6QAFs.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6QAFs.png" alt="enter image description here"></a></p>