title: Print object in mongo script
body: <p>How can I print to console an object in a Mongo script?</p>
  
  <p>I tried:</p>
  
  <pre><code>&gt; print({})
  [object Object]
  </code></pre>
  
  <p>It simply displays <code>[object Object]</code>. Which is the alternative for <code>console.dir()</code>?</p>