Javascript variable scope after receiving value from chrome storage

后端 未结 0 1346
长情又很酷
长情又很酷 2020-12-10 05:11

I am having trouble updating the variable s with the value returned from the storage

function getItem(){
    var s;

    chrome.storage.local.get([\'par\'], f         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题