title: Illegal invocation error using ES6 Proxy and node.js
body: <p>I can not figure out why the following code does not work:</p>
  
  <pre><code>var os = new Proxy(require('os'), {});
  console.log( os.cpus() ); // TypeError: Illegal invocation
  </code></pre>
  
  <p>whereas</p>
  
  <pre><code>var os = require('os');
  console.log(Reflect.apply(os.cpus, os, []));
  </code></pre>
  
  <p>or</p>
  
  <pre><code>var os = new Proxy(require('os'), {});
  console.log( os.platform() );
  </code></pre>
  
  <p>works as expected.</p>