title: I was learning js in ubuntu but when i give cmd of node index.js it will enter in new line and ignored the fist cmd
body: <pre><code>var user = {
      firstName: &quot;vishu&quot;,
      courseCount: 10,
      getCourseCount: function () {
          console.log(&quot;line 7&quot;,this);
          function sayHello(){
              console.log(&quot;hello&quot;);
              console.log(&quot;line 10&quot;, this);
          }
          sayHello();
      }
  }
  </code></pre>