title: Python print vs Javascript console.log()
body: <p>In Python:</p>
  
  <pre class="lang-py prettyprint-override"><code>print [1,2], '\n', [3,4]
  </code></pre>
  
  <p>would print</p>
  
  <pre class="lang-none prettyprint-override"><code>[1,2]
  [3,4]
  </code></pre>
  
  <p>In Javascript:</p>
  
  <pre><code>console.log([1,2],'\n',[3,4])
  </code></pre>
  
  <p>prints</p>
  
  <pre class="lang-none prettyprint-override"><code>[1,2] '\n' [3,4]
  </code></pre>
  
  <p>What is the equivalent Javascript statement to the above Python <code>print</code>?</p>