---
title: "Discussion on \"Scopes and Scope Chain in JavaScript\" | Hashnode"
description: "Discussion on \"Scopes and Scope Chain in JavaScript\". Introduction\nTo become confident as a JavaScript programmer or developer, you always need to know how everything in your code works. With that understanding, you can avoid certain errors in JavaScript. An error that tends to occur due to limited know..."
url: "https://hashnode.com/posts/scopes-and-scope-chain-in-javascript/63e0a1294e7adf3ce4ec5c59"
---

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

Discussion

# [Scopes and Scope Chain in JavaScript](https://devmedic.hashnode.dev/scopes-and-scope-chain-in-javascript?utm_source=hashnode&utm_medium=feed)

Introduction To become confident as a JavaScript programmer or developer, you always need to know how everything in your code works. With that understanding, you can avoid certain errors in JavaScript. An error that tends to occur due to limited know...

Feb 6, 2023 · 9 min read · devmedic.hashnode.dev  
Updated Mar 8, 2023  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#scope-chain](https://hashnode.com/tag/scope-chain)
-   [#scope](https://hashnode.com/tag/scope)

## Written by

[Esther Idabor](https://hashnode.com/@BloomingTechstar)

@BloomingTechstar · Delta State, Nigeria

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

Frontend development, Technical Writer

As an avid learner who loves to teach and write, I am passionate about technical writing. I write about frontend technologies.

## Responses 1

Markdown supported · ⌘↵ to post

[Favourite Jome](https://hashnode.com/@Favourite)

[Feb 7, 2023](https://hashnode.com/posts/scopes-and-scope-chain-in-javascript/63e0a1294e7adf3ce4ec5c59/comment/63e1e958dd39cdb7268c980b)

Great writeup Esther!

[Esther Idabor](https://hashnode.com/@BloomingTechstar)

[Feb 7, 2023](https://hashnode.com/posts/scopes-and-scope-chain-in-javascript/63e0a1294e7adf3ce4ec5c59/comment/63e1e958dd39cdb7268c980b#reply-63e2140b4f759bc35e4418d0)

Thank you!
