Posts by Felipe Freitas • 26 points
2 posts
-
0
votes4
answers580
viewsA: Return Asyncstorage value in a constant
It’s okay to do this. Example: async function Test() { return new Promise(resolve => { setTimeout(() => { resolve({"testando":123}); }, 1000); }); } const test = await Test();…
-
1
votes1
answer32
viewsA: Problem when displaying the highest and lowest note
This is a typing problem and is happening because the property value of Javascript returns a string. You will not have problems when you run the code for the first time because it will compare…