const result = getData();
function getData() {
chrome.tabs.executeScript({code : 'document.~~~ },
function(result) {
now what?
})
}
How do i get 'result' value from getData function?
plz help me :(
const result = getData();
function getData() {
chrome.tabs.executeScript({code : 'document.~~~ },
function(result) {
now what?
})
}
How do i get 'result' value from getData function?
plz help me :(