---
title: "Discussion on \"Hoisting with fns\" | Hashnode"
description: "Discussion on \"Hoisting with fns\". Hoisting :\nMoving the functions and variables to the top of their respective scope. It doesn't works on Function expression and Arrow functions. You might wonder why it wouldn't work?\nIt's because the function expression would be defined as\nvar x=fun..."
url: "https://hashnode.com/posts/hoisting-with-fns/6519899a7467e6aafcdb32e4"
---

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

Discussion

# [Hoisting with fns](https://rashveera.hashnode.dev/hoisting-with-fns?utm_source=hashnode&utm_medium=feed)

Hoisting : Moving the functions and variables to the top of their respective scope. It doesn't works on Function expression and Arrow functions. You might wonder why it wouldn't work? It's because the function expression would be defined as var x=fun...

Oct 1, 2023 · 1 min read · rashveera.hashnode.dev  
Read the article

-   [#js](https://hashnode.com/tag/js)

## Written by

[Rashika Veera](https://hashnode.com/@Rashveera)

@Rashveera

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

Aspiring frontend developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
