---
title: "Discussion on \"Simple Explanation of Javascript Scopes (Global Scope and Local Scope)\" | Hashnode"
description: "Discussion on \"Simple Explanation of Javascript Scopes (Global Scope and Local Scope)\". Simple Explanation of Javascript Scopes (Global Scope and Local Scope)"
url: "https://hashnode.com/posts/simple-explanation-of-javascript-scopes-global-scope-and-local-scope/608f3f57a3716542f3640f9a"
---

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

Discussion

# [Simple Explanation of Javascript Scopes (Global Scope and Local Scope)](https://oyindawodu.hashnode.dev/simple-explanation-of-javascript-scopes-global-scope-and-local-scope?utm_source=hashnode&utm_medium=feed)

Simple Explanation of Javascript Scopes (Global Scope and Local Scope)

May 3, 2021 · 4 min read · oyindawodu.hashnode.dev  
Updated Jul 6, 2024  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#variables](https://hashnode.com/tag/variables)
-   [#functions](https://hashnode.com/tag/functions)

## Written by

[Oyin Dawodu](https://hashnode.com/@oyin-coding-stories)

@oyin-coding-stories · Lagos, Nigeria

  
[View profile](https://hashnode.com/@oyin-coding-stories)

Senior Software Engineer

Senior Software Engineer | Technical Writer

## Responses 4

Markdown supported · ⌘↵ to post

[Olamide Abe](https://hashnode.com/@Holamide)

[May 7, 2022](https://hashnode.com/posts/simple-explanation-of-javascript-scopes-global-scope-and-local-scope/608f3f57a3716542f3640f9a/comment/6276b640dc122f5a4f21e7d3)

This is really cool write ups. Kudos

[Dawodu A](https://hashnode.com/@Olufunmi)

[May 3, 2021](https://hashnode.com/posts/simple-explanation-of-javascript-scopes-global-scope-and-local-scope/608f3f57a3716542f3640f9a/comment/608fbcf6dc886b43180078ca)

Way to go. Very enlightening 🤭

[Oyin Dawodu](https://hashnode.com/@oyin-coding-stories)

[May 3, 2021](https://hashnode.com/posts/simple-explanation-of-javascript-scopes-global-scope-and-local-scope/608f3f57a3716542f3640f9a/comment/608fbcf6dc886b43180078ca#reply-608fdcdbcebc886374b84c49)

You welcome😉

[Chioma Elui](https://hashnode.com/@Juliette01)

[May 3, 2021](https://hashnode.com/posts/simple-explanation-of-javascript-scopes-global-scope-and-local-scope/608f3f57a3716542f3640f9a/comment/608f9818dc886b4318007646)

And educating

[Chioma Elui](https://hashnode.com/@Juliette01)

[May 3, 2021](https://hashnode.com/posts/simple-explanation-of-javascript-scopes-global-scope-and-local-scope/608f3f57a3716542f3640f9a/comment/608f97ffdc886b4318007633)

This is really nice

[Oyin Dawodu](https://hashnode.com/@oyin-coding-stories)

[May 3, 2021](https://hashnode.com/posts/simple-explanation-of-javascript-scopes-global-scope-and-local-scope/608f3f57a3716542f3640f9a/comment/608f97ffdc886b4318007633#reply-608fdcaadc886b4318007a16)

Glad you like it 😊
