---
title: "Discussion on \"Tricky Questions About JavaScript's setTimeout\" | Hashnode"
description: "Discussion on \"Tricky Questions About JavaScript's setTimeout\". Dive into the complexities of setTimeout and learn how variable scoping with var, let, and closures affect JavaScript execution."
url: "https://hashnode.com/posts/tricky-questions-about-javascripts-settimeout/662e59b4c0aa4d781a11754d"
---

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

Discussion

# [Tricky Questions About JavaScript's setTimeout](https://gunjanagarwal.hashnode.dev/tricky-questions-about-javascripts-settimeout?utm_source=hashnode&utm_medium=feed)

Dive into the complexities of setTimeout and learn how variable scoping with var, let, and closures affect JavaScript execution.

Apr 28, 2024 · 4 min read · gunjanagarwal.hashnode.dev  
Read the article

-   [#frontend-development](https://hashnode.com/tag/frontend-development)
-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#closures-in-javascript](https://hashnode.com/tag/closures-in-javascript)
-   [#settimeout](https://hashnode.com/tag/settimeout)
-   [#interview-questions](https://hashnode.com/tag/interview-questions)
-   [#advanced-javascript-concepts](https://hashnode.com/tag/advanced-javascript-concepts)
-   [#javascript-framework](https://hashnode.com/tag/javascript-framework)
-   [#reacthooks](https://hashnode.com/tag/reacthooks)

## Written by

[gunjan agarwal](https://hashnode.com/@GunjanAgarwal)

@GunjanAgarwal

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

Frontend Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
