---
title: "Discussion on \"Synchronous vs Asynchronous JavaScript\" | Hashnode"
description: "Discussion on \"Synchronous vs Asynchronous JavaScript\". Synchronous code runs line by line, one after another.\nEach line waits for the previous one to finish.\nconsole.log(\"one\");\nconsole.log(\"two\");\nconsole.log(\"three\");\n\nOutput:\none\ntwo\nthree\n\n\nExecution"
url: "https://hashnode.com/posts/synchronous-vs-asynchronous-javascript/6a0020e7e3eebc2e203c1416"
---

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

Discussion

# [Synchronous vs Asynchronous JavaScript](https://tech-log.hashnode.dev/synchronous-vs-asynchronous-javascript?utm_source=hashnode&utm_medium=feed)

Synchronous code runs line by line, one after another. Each line waits for the previous one to finish. console.log("one"); console.log("two"); console.log("three"); Output: one two three Execution

May 10 · 2 min read · tech-log.hashnode.dev  
Read the article

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

## Written by

[Mrinal G](https://hashnode.com/@mg16)

@mg16

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
