---
title: "Discussion on \"Arrow functions vs Normal functions\" | Hashnode"
description: "Discussion on \"Arrow functions vs Normal functions\". In JavaScript, both arrow functions and normal functions can access variables from their enclosing scope due to lexical scoping. However, there is a notable difference in how this is treated by these two types of functions, which can affect how you m..."
url: "https://hashnode.com/posts/arrow-functions-vs-normal-functions/664cc96d34039287ed0c4ab7"
---

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

Discussion

# [Arrow functions vs Normal functions](https://wiredwhiz.hashnode.dev/arrow-functions-vs-normal-functions?utm_source=hashnode&utm_medium=feed)

In JavaScript, both arrow functions and normal functions can access variables from their enclosing scope due to lexical scoping. However, there is a notable difference in how this is treated by these two types of functions, which can affect how you m...

May 21, 2024 · 2 min read · wiredwhiz.hashnode.dev  
Read the article

## Written by

[sudheer nunna](https://hashnode.com/@sudheernunna)

@sudheernunna

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
