title: List all global variables in Node.js
body: <p>I'm trying to list all of the global variables, including those refering to <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects" rel="noreferrer">built-in objects</a>.</p>
  
  <p>In Chrome's console I can simply type <code>this</code> and get back all the keys, including things like <code>String</code>, <code>Number</code>, etc.</p>
  
  <p>However when I do this in Node.js I get much less:</p>
  
  <pre><code>&gt; Object.keys(this)
  [ 'global',
    'process',
    'GLOBAL',
    'root',
    'Buffer',
    'setTimeout',
    'setInterval',
    'clearTimeout',
    'clearInterval',
    'setImmediate',
    'clearImmediate',
    'console',
    'module',
    'require',
    '_' ]
  &gt; this.eval
  [Function: eval]
  </code></pre>
  
  <p>Where is <code>this.eval</code> coming from?</p>