title: get document children with javascript
body: <p>I'm trying to get document first children (which means: body, html, head etc..)
  This code line works:</p>
  
  <pre><code>var x = document.body.children;
  </code></pre>
  
  <p>but this one does not:</p>
  
  <pre><code>var x = document.children;
  </code></pre>
  
  <p>how can I get the first childs of the document without running on all elements <strong>using JAVASCRIPT only</strong>?</p>