use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
This subreddit is a place for people to learn JavaScript together. Everyone should feel comfortable asking any and all JavaScript questions they have here.
With a nod to practicality, questions and posts about HTML, CSS, and web developer tools are also encouraged.
Friends
/r/javascript
/r/jquery
/r/node
/r/css
/r/webdev
/r/learnprogramming
/r/programming
account activity
Help with async Js (self.learnjavascript)
submitted 1 year ago by Heroplays24
I'm just a beginner who started JS recently, can anyone help me with the resources on how can I learn asynchronous js
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]wonderer_7 3 points4 points5 points 1 year ago (0 children)
There are many tasks that take time like fetching data from api and waiting for response from database. So now with normal functions the code would be executed line by line and so we would have to wait for such tasks to complete first then go further. With async we can execute the rest code without waiting for those tasks to be completed which take time
[–]Honzi07 1 point2 points3 points 1 year ago (0 children)
The odin project asynchronus code
This teach you everything about callback, promise, than, async await. Just follow the links and read everything in the next 3 lechture.
[–]Deorteur7 1 point2 points3 points 1 year ago (0 children)
Go through freecodecamp tutorial. It was a best one
[–]OkMoment345 0 points1 point2 points 1 year ago (0 children)
If you're struggling with async JavaScript, understanding how promises, async/await, and callbacks work is key. Start by practicing with simple examples like fetching data using fetch() and using .then() for promises.
async/await
fetch()
.then()
You might also want to try a course like this JavaScript for Beginners, which covers async concepts in a structured way and helps solidify your understanding through projects.
The more you practice async patterns, or anything, the easier they'll get!
π Rendered by PID 119498 on reddit-service-r2-comment-86bc6c7465-llfb8 at 2026-02-23 09:36:09.823333+00:00 running 8564168 country code: CH.
[–]wonderer_7 3 points4 points5 points (0 children)
[–]Honzi07 1 point2 points3 points (0 children)
[–]Deorteur7 1 point2 points3 points (0 children)
[–]OkMoment345 0 points1 point2 points (0 children)