---
title: "Discussion on \"Function Declaration vs Function Expression in JavaScript\" | Hashnode"
description: "Discussion on \"Function Declaration vs Function Expression in JavaScript\". Learn the difference between function declaration and function expression in JavaScript. Understand hoisting, execution phases, practical examples, an"
url: "https://hashnode.com/posts/function-declaration-vs-function-expression-in-javascript/69b6647234db550e2c5aab6d"
---

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

Discussion

# [Function Declaration vs Function Expression in JavaScript](https://learnwithsneha.hashnode.dev/function-declaration-vs-function-expression-in-javascript?utm_source=hashnode&utm_medium=feed)

Learn the difference between function declaration and function expression in JavaScript. Understand hoisting, execution phases, practical examples, an

Mar 15 · 14 min read · learnwithsneha.hashnode.dev  
Read the article

-   [#chaicode](https://hashnode.com/tag/chaicode)
-   [#chaiaurcode](https://hashnode.com/tag/chaiaurcode)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#functions-in-js](https://hashnode.com/tag/functions-in-js)
-   [#hoisting](https://hashnode.com/tag/hoisting)

## Written by

[Sneha](https://hashnode.com/@sumii)

@sumii · India

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

Learning. Building. Teaching.

I learn things, break them, fix them, and write about it so you don’t have to.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
