title: function as argument on evaluate method on google puppeteer
body: <p>I want to run a function inside evaluate(), I'm passing it as an argument, but I'm getting <strong>'func is not a function'</strong>, what am I missing?</p>
  
  <p>Puppeteer version: 10.2</p>
  
  <p>Platform / OS version: Windows 10, Node 8.2.1</p>
  
  <pre><code>var func = function() {
     console.log("xxxxx");
  };
  
  var response = await page.evaluate( (func) =&gt; {
     func(); //func is not a function
  }, func);
  </code></pre>