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

DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’» is a community of 967,611 amazing developers

We're a place where coders share, stay up-to-date and grow their careers.

Create account Log in
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

Top comments (1)

Collapse
 
sloan profile image
Sloan

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.

🀯

"I made 10x faster JSON.stringify() functions, even type safe"

☝️ Must read for JS devs