Posts by Dougwn • 15 points
2 posts
-
1
votes1
answer97
viewsQ: How to return the data obtained from a Request outside the scope of the function?
I am creating a javascript code to query the temperature: const tempo = () => { const axios = require("axios"); const TOKEN = "#myToken";…
javascriptasked Dougwn 15 -
0
votes1
answer667
viewsQ: Return value from a request!
I’m practicing some nodejs, so I decided to create an application for the temperature consultation, but I came across a question. How do I return the value of the variable "Weather": const tempo =…