---
title: "Discussion on \"JS Closure\" | Hashnode"
description: "Discussion on \"JS Closure\". Youtube   Twitter\nhttps://youtu.be/V_Q2t_aHCKU\nClosure gives you access to an outer functions scope from inner function.\nfunction outer() {\n    const name = 'test';\n    function inner() {\n     // 'name' from outer function is accessible inside inner ..."
url: "https://hashnode.com/posts/js-closure/61e411839f8415199ccad6e7"
---

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

Discussion

# [JS Closure](https://vkglobal.hashnode.dev/js-closure?utm_source=hashnode&utm_medium=feed)

Youtube Twitter https://youtu.be/V\_Q2t\_aHCKU Closure gives you access to an outer functions scope from inner function. function outer() { const name = 'test'; function inner() { // 'name' from outer function is accessible inside inner ...

Jan 16, 2022 · 1 min read · vkglobal.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#100daysofcode](https://hashnode.com/tag/100daysofcode)

## Written by

[Mahesh](https://hashnode.com/@urstrulyvishwak)

@urstrulyvishwak · India

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

Dad | Web developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
