title: How do I output something in Rhino?
body: <p>I'm looking for the javascript equivalent of Python2.x's <code>print "hi"</code>.
  I'm working with the Rhino javascript interpreter in the ubuntu terminal.
  When I type:</p>
  
  <pre><code>document.write{"hi"}
  </code></pre>
  
  <p>I get the error that 'document' is not defined.</p>