My code like this. I seen on my console correctly values. But i cant use my array list in another function. My storage items seening as undefined. Please help me!
this.storage.forEach((value, key) => {
if (key == 'favoriteStory') {
//console.log("value", value);
this.item = value.toString();
this.myItems.unshift(this.item);
}
})