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

Tag

# #function-scope

5 posts · 0 followers

[pushpesh kumar](https://hashnode.com/@pushpeshkumar) · [May 24, 2025](https://hashnode.com/posts/js-fundamentals-8-primitive-vs-reference-values-in-javascript/6831c36c3639279661c7d805)

### [JS Fundamentals #8 — 🧩 Primitive vs Reference Values in JavaScript](https://pushpesh-js-articles.hashnode.dev/js-fundamentals-8-primitive-vs-reference-values-in-javascript?utm_source=hashnode&utm_medium=feed)

One of the most fundamental concepts in JavaScript that often confuses developers is the difference between primitive and reference values. This distinction affects how variables are stored, copied, compared, and passed to functions. Understanding th...

11 min read · [pushpesh-js-articles.hashnode.dev](https://pushpesh-js-articles.hashnode.dev/js-fundamentals-8-primitive-vs-reference-values-in-javascript?utm_source=hashnode&utm_medium=feed)

[Martin Mwenda](https://hashnode.com/@martin254) · [Aug 19, 2024](https://hashnode.com/posts/understanding-javascript-var-let-and-const/66c3d47aab87ce85ba3b28e0)

### [Understanding Javascript var, let and const](https://javascriptmasteryhub.hashnode.dev/understanding-javascript-var-let-and-const?utm_source=hashnode&utm_medium=feed)

Learn the key differences between var, let, and const

4 min read · [javascriptmasteryhub.hashnode.dev](https://javascriptmasteryhub.hashnode.dev/understanding-javascript-var-let-and-const?utm_source=hashnode&utm_medium=feed)

[Bhavesh Jadhav](https://hashnode.com/@bhavesh002) · [May 27, 2024](https://hashnode.com/posts/javascript-essentials-understanding-scope-lexical-environment-and-hoisting/6654df310a4569c79bed6d08)

### [JavaScript Essentials: Understanding Scope, Lexical Environment, and Hoisting](https://bhaveshjadhav.hashnode.dev/javascript-essentials-understanding-scope-lexical-environment-and-hoisting?utm_source=hashnode&utm_medium=feed)

Master JavaScript Scope, Lexical Environment, and Hoisting: Key concepts for writing predictable and bug-free code

3 min read · [bhaveshjadhav.hashnode.dev](https://bhaveshjadhav.hashnode.dev/javascript-essentials-understanding-scope-lexical-environment-and-hoisting?utm_source=hashnode&utm_medium=feed)

[Nicole C.](https://hashnode.com/@thepronicole) · [Sep 17, 2023](https://hashnode.com/posts/the-scoop-on-scopes-javascript/65075a263d76708580f3a100)

### [The Scoop on Scopes JavaScript](https://myblog.thepronicole/the-scoop-on-scopes-javascript?utm_source=hashnode&utm_medium=feed)

Okay so you have declared your variable and you are ready to put it in use! You have an error. It's saying ReferenceError: (your variable) is not defined. That makes no sense you have declared it with a const. You're looking right at the variable. W...

3 min read · [myblog.thepronicole](https://myblog.thepronicole/the-scoop-on-scopes-javascript?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/the-scoop-on-scopes-javascript/65075a263d76708580f3a100)

[Anirudha Patil](https://hashnode.com/@AnirudhaPatil) · [Apr 12, 2023](https://hashnode.com/posts/javascript-interview-question-function-scope-vs-block-scope/6436e7d4d3b300c1dde36e1d)

### [JavaScript Interview Question: Function Scope vs. Block Scope](https://atomicjuggernaut.hashnode.dev/javascript-interview-question-function-scope-vs-block-scope?utm_source=hashnode&utm_medium=feed)

Learn about the difference between function and block scope in JavaScript and how variables behave within these scopes. Gain a understanding of hoisting.

3 min read · [atomicjuggernaut.hashnode.dev](https://atomicjuggernaut.hashnode.dev/javascript-interview-question-function-scope-vs-block-scope?utm_source=hashnode&utm_medium=feed)
