---
title: "Discussion on \"Javascript  Closure\" | Hashnode"
description: "Discussion on \"Javascript  Closure\". Closure in javascript is simply a function that has access to variables outside of its scope. Let's see an example below, in the example we see that the increment function has access to the value variable outside of it. This means that const incremen..."
url: "https://hashnode.com/posts/javascript-closure/64c7d4b275889977c1e813d0"
---

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

Discussion

# [Javascript Closure](https://codeway.hashnode.dev/javascript-closure?utm_source=hashnode&utm_medium=feed)

Closure in javascript is simply a function that has access to variables outside of its scope. Let's see an example below, in the example we see that the increment function has access to the value variable outside of it. This means that const incremen...

Jul 31, 2023 · 1 min read · codeway.hashnode.dev  
Read the article

-   [#closures-in-javascript](https://hashnode.com/tag/closures-in-javascript)

## Written by

[Abarah Lawence](https://hashnode.com/@codeWay)

@codeWay · Lagos

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

I am a software frontend developer and a problem solver and always passionate about learning new skills

I am a Software Engineer from Lagos, Nigeria.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
