---
title: "#lexical-scoping articles | Hashnode"
description: "Explore 5 articles tagged #lexical-scoping on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/lexical-scoping"
---

Tag

# #lexical-scoping

5 posts · 0 followers

[buddha gautam](https://hashnode.com/@buddha231) · [Jun 7, 2025](https://hashnode.com/posts/python-closures/6843d2639c7082273988ff86)

### [Python Closures: More Than Just Nested Functions.](https://blog.buddhag.com.np/python-closures?utm_source=hashnode&utm_medium=feed)

This blog is generated as a usecase of this other blog(Automating blog creation with own agent vs mcp) that helped me automate the writing of this blog. Alright, buckle up buttercups. Today we're diving into Python closures. Not the LinkedIn-influen...

5 min read · [blog.buddhag.com.np](https://blog.buddhag.com.np/python-closures?utm_source=hashnode&utm_medium=feed)

[Keyur Paralkar](https://hashnode.com/@keyurparalkar) · [May 26, 2022](https://hashnode.com/posts/lexical-scope-in-javascript/66bb55524c9d249e52882f2d)

### [Lexical Scope in JavaScript – Beginner's Guide](https://freecodecamp.org/news/lexical-scope-in-javascript?utm_source=hashnode&utm_medium=feed)

In this article, we are going to understand what lexical scope is by going through some helpful examples. We will also have a brief discussion about how JavaScript compiles and executes programs. Lastly, we will have a look at how you can use lexic...

9 min read · [freecodecamp.org](https://freecodecamp.org/news/lexical-scope-in-javascript?utm_source=hashnode&utm_medium=feed)

[Oluwatobi Sofela](https://hashnode.com/@oluwatobiss) · [Aug 19, 2021](https://hashnode.com/posts/javascript-lexical-scope-tutorial/66ba0dfaa1a94b68c6ae948f)

### [Lexical Scope in JavaScript – What Exactly Is Scope in JS?](https://freecodecamp.org/news/javascript-lexical-scope-tutorial?utm_source=hashnode&utm_medium=feed)

The term “lexical scope” may seem tricky to grasp at first glance. But it's helpful to understand what each word means. So this article will explain lexical scope by first examining the meaning of “lexical” and “scope”. So, let’s get it started by un...

8 min read · [freecodecamp.org](https://freecodecamp.org/news/javascript-lexical-scope-tutorial?utm_source=hashnode&utm_medium=feed)

[freeCodeCamp](https://hashnode.com/@freeCodeCamp) · [Jun 28, 2021](https://hashnode.com/posts/javascript-closure-lexical-scope/66d45e0d230dff01669057cd)

### [JavaScript Closure Tutorial – How Closures and Lexical Scope Work in JS](https://freecodecamp.org/news/javascript-closure-lexical-scope?utm_source=hashnode&utm_medium=feed)

By Dave Gray In JavaScript, people often confuse closures with lexical scope. Lexical scope is an important part of closures, but it is not a closure by itself. Closures are an advanced concept that is also a frequent topic of technical interviews. Y...

3 min read · [freecodecamp.org](https://freecodecamp.org/news/javascript-closure-lexical-scope?utm_source=hashnode&utm_medium=feed)

[freeCodeCamp](https://hashnode.com/@freeCodeCamp) · [May 27, 2020](https://hashnode.com/posts/javascript-closure-tutorial-with-js-closure-example-code/66d45d9ba44b8bb91150f655)

### [JavaScript Closure Tutorial – With JS Closure Example Code](https://freecodecamp.org/news/javascript-closure-tutorial-with-js-closure-example-code?utm_source=hashnode&utm_medium=feed)

By Anchal Nigam Closures – many of you JavaScript devs have probably heard this term before. When I started my journey with JavaScript, I encountered closures often. And I think they're one of the most important and interesting concepts in JavaScript...

8 min read · [freecodecamp.org](https://freecodecamp.org/news/javascript-closure-tutorial-with-js-closure-example-code?utm_source=hashnode&utm_medium=feed)
