title: Why would node print Promise { <pending> }? Can I turn it off?
body: <p>Here is my test code to test calling of resolve callback in another callback embedded in promise constructor.</p>
  
  <pre><code>var p = new Promise(function (resolve) {
      setTimeout(function () {
          resolve('starbar');
      }, 3000);
  });
  
  console.log(p.then(function (v) {
      console.log(v);
  }));
  </code></pre>
  
  <p>When running code in Node, it logged <code>Promise { &lt;pending&gt; }</code>.
  Why would that happen and how to turn it off?</p>