Author: Akshay Akshay

Hi All,I would like to take this opportunity and explain you the asynchronous programming in JavaScript.Before diving deep into asynchronous concepts like callbacks, promises, async/await.Javascript is a synchronous single threaded programming language – JavaScript (JS) Engine will execute one task at a time.JavaScript is also a interpreted programming language – JS Engine executes the code line by line from top to bottom.So, based on above two sentences we cannot run different task in parallel. Isn’t it? Is it good or bad? If you take other languages like Java or .net we have something called multi threading.No friends, even in JavaScript we can achieve…

Read More