---
title: "Discussion on \"Function Declaration vs Function Expression: What’s the Difference?\n\" | Hashnode"
description: "Discussion on \"Function Declaration vs Function Expression: What’s the Difference?\n\". 📘 Function Declaration vs Function Expression\n\n1️⃣ What Are Functions & Why Do We Need Them?\nThink of a function as a reusable block of code.\nInstead of writing the same code again and again, we put"
url: "https://hashnode.com/posts/functions-js-ss/69a8bbd03b896f7ad6894b15"
---

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

Discussion

# [Function Declaration vs Function Expression: What’s the Difference?](https://function-js-ss.hashnode.dev/functions-js-ss?utm_source=hashnode&utm_medium=feed)

📘 Function Declaration vs Function Expression 1️⃣ What Are Functions & Why Do We Need Them? Think of a function as a reusable block of code. Instead of writing the same code again and again, we put

Mar 4 · 4 min read · function-js-ss.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#functions](https://hashnode.com/tag/functions)
-   [#chaicode](https://hashnode.com/tag/chaicode)
-   [#chaicohort](https://hashnode.com/tag/chaicohort)
-   [#chaiaurcode](https://hashnode.com/tag/chaiaurcode)
-   [#youtube](https://hashnode.com/tag/youtube)
-   [#blogging](https://hashnode.com/tag/blogging)

## Written by

[Sulabh Suman](https://hashnode.com/@sulabh12)

@sulabh12

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
