Joined
Last Seen
0 Reputation Points
0% Quality Score
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
0 Endorsements
Ranked #107.40K
Hello everyone! I ran into a problem that when calling the API, its response comes after the code was processed and I get undefined in the response. For this, I have 2 files start.js and api.js. In start.js I call api.js and wait for a response: `const api = require("./api"); … |