---
title: "Discussion on \"Understanding Asynchronous JavaScript and Promises\" | Hashnode"
description: "Discussion on \"Understanding Asynchronous JavaScript and Promises\". When I first started learning JavaScript, I noticed something confusing. Some lines of code executed immediately, while others ran after a delay.\nFor example:\nconsole.log(\"Start\");\n\nsetTimeout(() => {"
url: "https://hashnode.com/posts/understanding-asynchronous-javascript-and-promises/6ad5146751032cf1e17cca16"
---

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

Discussion

# [Understanding Asynchronous JavaScript and Promises](https://umerahim.hashnode.dev/understanding-asynchronous-javascript-and-promises?utm_source=hashnode&utm_medium=feed)

When I first started learning JavaScript, I noticed something confusing. Some lines of code executed immediately, while others ran after a delay. For example: console.log("Start"); setTimeout(() => {

Oct 18 · 3 min read · umerahim.hashnode.dev  
Read the article

## Written by

[umer](https://hashnode.com/@umerrahim)

@umerrahim

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

Web developer

Building cool stuff in web

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
