title: How to call a function that calls other functions on chrome.scripting.executeScript
body: <p>I'm trying to call an external function inside the function passed in the 'func' parameter in the chrome.scripting.executeScript call:</p>
  <pre><code>await chrome.scripting.executeScript({
      target: {tabId: tabId},
      func: async () =&gt; {
          //call a extern function here
      }
  })
  </code></pre>
  <p>In this call i get 'ReferenceError: [function name] is not defined'</p>
  <p>I would like to know if it is possible, and if so, how is it possible?</p>