Estoy un poco atascado con algo (espero que sea simple), tal vez alguien aquí pueda echar un vistazo y señalar esa cosa simple que me falta. Estoy obteniendo algunos objetos y quiero empujarlos a una matriz. al presionar, aparece el error: Cannot add property 0, object is not extensible
if (keysLength > 0) { //@ts-ignore let Arr = []; for(let x = 0; x < keysLength; x++) { let keys = "item" + x; // getting all the items from storage // and merging into 1 array chrome.storage.sync.get([keys], function(result) { // err: Cannot add property 0, object is not extensible Arr.push(result[keys]); }); if (x === keysLength-1){ console.log(Arr) } } }apreciar el tiempo