async function x(){ var index = 0; await chrome.storage.sync.get(null, (result) => { alert(\'hi\'); obj = Object.keys(result);