title: How to get the number of arguments from callback function?
body: <p>I have a function that receives a <code>callback</code> function as a parameter.</p>
  <pre><code>function __throwError(func) {
  // I want to get the number of arguments from func
  const arguments =?
  
  }
  </code></pre>
  <p>How do I get arguments from this <code>callback</code> function ?</p>