---
title: "Discussion on \"The Scoop on Scopes JavaScript\" | Hashnode"
description: "Discussion on \"The Scoop on Scopes JavaScript\". Okay so you have declared your variable and you are ready to put it in use!\n\nYou have an error. It's saying ReferenceError: (your variable) is not defined. That makes no sense you have declared it with a const. You're looking right at the variable. W..."
url: "https://hashnode.com/posts/the-scoop-on-scopes-javascript/65075a263d76708580f3a100"
---

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

Discussion

# [The Scoop on Scopes JavaScript](https://myblog.thepronicole/the-scoop-on-scopes-javascript?utm_source=hashnode&utm_medium=feed)

Okay so you have declared your variable and you are ready to put it in use! You have an error. It's saying ReferenceError: (your variable) is not defined. That makes no sense you have declared it with a const. You're looking right at the variable. W...

Sep 17, 2023 · 3 min read · myblog.thepronicole  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#global-scope](https://hashnode.com/tag/global-scope)
-   [#local-scope](https://hashnode.com/tag/local-scope)
-   [#function-scope](https://hashnode.com/tag/function-scope)
-   [#block-scope](https://hashnode.com/tag/block-scope)

## Written by

[Nicole C.](https://hashnode.com/@thepronicole)

@thepronicole · Dallas Tx

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

Full Stack Software Engineer

Hi there! My name is Nicole! I am a Full Stack Software Engineer in Dallas Tx. If Im not coding I'm most likely lifting weights or doing some form art active.

## Responses 1

Markdown supported · ⌘↵ to post

[Zion Ukpong](https://hashnode.com/@yourfavtechie)

[Oct 13, 2023](https://hashnode.com/posts/the-scoop-on-scopes-javascript/65075a263d76708580f3a100/comment/6529a4b5069d0e037f9a7d04)

Wow! This was an insightful read. Thanks for sharing❤
