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

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

Discussion

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

Learn the difference between function declaration and function expression in JavaScript. Understand syntax, hoisting behavior, with practical examples

Mar 15 · 4 min read · techgyaan.hashnode.dev  
Read the article

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

## Written by

[Rahul](https://hashnode.com/@LuharIlok)

@LuharIlok

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

Let's write

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
