---
title: "Discussion on \"Synchronous vs Asynchronous JavaScript: Why Async Code Exists\" | Hashnode"
description: "Discussion on \"Synchronous vs Asynchronous JavaScript: Why Async Code Exists\". When you start learning JavaScript, everything feels simple.\nCode runs line by line.\nBut then suddenly you see things like:\n\nsetTimeout\n\nAPI calls\n\nPromises\n\n\nAnd things don’t behave the way you expec"
url: "https://hashnode.com/posts/synchronous-vs-asynchronous-javascript-why-async-code-exists/69f1e6e16e0124c05ee8d27b"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Synchronous vs Asynchronous JavaScript: Why Async Code Exists](https://synchronous-vs-asynchronous-in-js.hashnode.dev/synchronous-vs-asynchronous-javascript-why-async-code-exists?utm_source=hashnode&utm_medium=feed)

When you start learning JavaScript, everything feels simple. Code runs line by line. But then suddenly you see things like: setTimeout API calls Promises And things don’t behave the way you expec

Apr 29 · 6 min read · synchronous-vs-asynchronous-in-js.hashnode.dev  
Updated Apr 30  
Read the article

-   [#chaicode](https://hashnode.com/tag/chaicode)
-   [#synchronous](https://hashnode.com/tag/synchronous)
-   [#asynchronous](https://hashnode.com/tag/asynchronous)
-   [#javascript](https://hashnode.com/tag/javascript)

## Written by

[Babita Kumari](https://hashnode.com/@babitakumari)

@babitakumari

  
[View profile](https://hashnode.com/@babitakumari)

Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
