---
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?\". Understand the difference between function declarations and expressions in JavaScript. Learn about hoisting, syntax, and when to use each in modern JS"
url: "https://hashnode.com/posts/function-declaration-vs-function-expression-what-s-the-difference/69b6df39f4eb2f8b04af6556"
---

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

Discussion

# [Function Declaration vs. Function Expression: What’s the Difference?](https://terminal-thoughts.hashnode.dev/function-declaration-vs-function-expression-what-s-the-difference?utm_source=hashnode&utm_medium=feed)

Understand the difference between function declarations and expressions in JavaScript. Learn about hoisting, syntax, and when to use each in modern JS

Mar 15 · 4 min read · terminal-thoughts.hashnode.dev  
Read the article

-   [#chaicode](https://hashnode.com/tag/chaicode)
-   [#functions-in-js](https://hashnode.com/tag/functions-in-js)
-   [#js-functions](https://hashnode.com/tag/js-functions)
-   [#function-declaration](https://hashnode.com/tag/function-declaration)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#function-expressions](https://hashnode.com/tag/function-expressions)

## Written by

[Abhishek Yadav](https://hashnode.com/@abishekyadav)

@abishekyadav · India

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

Fullstack Developer | DSA | CS'25 | Building digital products and exploring modern web technologies.

Focused on building robust web applications and understanding the underlying infrastructure of the internet.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
