---
title: "Discussion on \"Function Declaration vs Function Expression: What’s the Difference?\" | Hashnode"
description: "Discussion on \"Function Declaration vs Function Expression: What’s the Difference?\". Demystifying Hoisting, Memory Phases, and the Execution Context"
url: "https://hashnode.com/posts/javascript-functions-declaration-vs-expression/69b0578dabc0d950018cb57c"
---

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

Discussion

# [Function Declaration vs Function Expression: What’s the Difference?](https://jaspreet-sharma.hashnode.dev/javascript-functions-declaration-vs-expression?utm_source=hashnode&utm_medium=feed)

Demystifying Hoisting, Memory Phases, and the Execution Context

Mar 10 · 5 min read · jaspreet-sharma.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#programming-blogs](https://hashnode.com/tag/programming-blogs)
-   [#frontend](https://hashnode.com/tag/frontend)
-   [#beginners](https://hashnode.com/tag/beginners)
-   [#chaicode](https://hashnode.com/tag/chaicode)
-   [#chaiaurcode](https://hashnode.com/tag/chaiaurcode)
-   [#function-declaration-vs-expression](https://hashnode.com/tag/function-declaration-vs-expression)
-   [#function-expressions](https://hashnode.com/tag/function-expressions)
-   [#function-declaration](https://hashnode.com/tag/function-declaration)

## Written by

[Jaspreet Sharma](https://hashnode.com/@jaspreet-sharma-553)

@jaspreet-sharma-553 · India

  
[View profile](https://hashnode.com/@jaspreet-sharma-553)

Web Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
