Error: Error thrown in execution script: e is not defined.
Stack: ReferenceError: e is not defined
at <anonymous>:4:44
at <anonymous>:4:76
at <anonymous>:20:3
at Object.chrome.tabs.executeAsyncFunction
try {
const scriptToExecute = async function() {
return 'hi'
}
const results = await chrome.tabs.executeAsyncFunction(window.tabs[0].id, scriptToExecute)
} catch (err) {
console.log(err)
}