---
title: "Discussion on \"Master the Fundamentals: Closures, Hoisting, and Scope in JavaScript\" | Hashnode"
description: "Discussion on \"Master the Fundamentals: Closures, Hoisting, and Scope in JavaScript\". A closure is a feature that allows you to create functions that can access variables from outside and \"remember\" the state of their surrounding environment."
url: "https://hashnode.com/posts/master-the-fundamentals-closures-hoisting-and-scope-in-javascript/63ee640f0f4977dd54df7894"
---

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

Discussion

# [Master the Fundamentals: Closures, Hoisting, and Scope in JavaScript](https://ashercode.hashnode.dev/master-the-fundamentals-closures-hoisting-and-scope-in-javascript?utm_source=hashnode&utm_medium=feed)

A closure is a feature that allows you to create functions that can access variables from outside and "remember" the state of their surrounding environment.

Feb 16, 2023 · 11 min read · ashercode.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#fundamentals](https://hashnode.com/tag/fundamentals)
-   [#closure](https://hashnode.com/tag/closure)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#programming](https://hashnode.com/tag/programming)

## Written by

[AsherCode](https://hashnode.com/@AsherCode)

@AsherCode · Peru

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

Sharing my journey as a Junior Dev

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
