---
title: "Discussion on \"Demystifying Lexical Scope in JavaScript\" | Hashnode"
description: "Discussion on \"Demystifying Lexical Scope in JavaScript\". Scope is a fancy word for what data is available to me at any line of code\nLexical scope, in simple terms, is all about where you declare your functions. This choice determines which data a function can access when it's executed\nTo illustrate this co..."
url: "https://hashnode.com/posts/demystifying-lexical-scope-in-javascript/650359e6244ed06018ba08f7"
---

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

Discussion

# [Demystifying Lexical Scope in JavaScript](https://samyscode.hashnode.dev/demystifying-lexical-scope-in-javascript?utm_source=hashnode&utm_medium=feed)

Scope is a fancy word for what data is available to me at any line of code Lexical scope, in simple terms, is all about where you declare your functions. This choice determines which data a function can access when it's executed To illustrate this co...

Sep 14, 2023 · 2 min read · samyscode.hashnode.dev  
Read the article

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

## Written by

[mahi samia](https://hashnode.com/@samyscode)

@samyscode

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

Backend developer with passion for the Frontend world, Follow me on Instagram for more! (@samyscode))

hey there 👋 i'm Samia, a Backend developer turning to frontend world. i used to work as a Laravel and PHP developer for 3 and half years, in that journey, i had to deal from time to time with some frontend tasks, like fixing responsiveness or converting some psd files into HTML &amp; CSS, that was when i fall in love with it. I loved the idea of turning creative and beautiful design into reality, so i made that career switch and now turning fully to Frontend development. Feel free to checkout my journey on Instagram or just pass Hi

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
