DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

Cover image for Asynchronous in JavaScript
Shyam Mohan Kunwar
Shyam Mohan Kunwar

Posted on

Asynchronous in JavaScript

Asynchronous Programming in javascript is simply done with callbacks.

Callbacks are functions that called inside the other function.

Asynchronous programming uses multiple tasks running in parallel with no delay between them. This makes any application faster because waiting on UI events stops its performance from dropping

3 Things to know in Asynchronous in Javascript:

  • Promises (new in ES6)
  • Async Await which was introduced in 2017
  • For /await loop added in 2018

Read More : Asynchronous in JavaScript with Examples

Oldest comments (1)

Collapse
 
sloan profile image
Sloan the DEV Moderator

Hi there, we encourage authors to share their entire posts here on DEV, rather than mostly pointing to an external link. Doing so helps ensure that readers don’t have to jump around to too many different pages, and it helps focus the conversation right here in the comments section.

If you choose to do so, you also have the option to add a canonical URL directly to your post.

DEV

Thank you.

Β 
Thanks for visiting DEV, we’ve worked really hard to cultivate this great community and would love to have you join us. If you’d like to create an account, you can sign up here.