---
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?\". Functions are the building blocks of JavaScript. They let you write a piece of code once and reuse it whenever you need. Instead of writing the same logic ten times, you write it once inside a functio"
url: "https://hashnode.com/posts/function-declaration-vs-function-expression-what-s-the-difference/6a008026e3eebc2e207bef56"
---

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

Discussion

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

Functions are the building blocks of JavaScript. They let you write a piece of code once and reuse it whenever you need. Instead of writing the same logic ten times, you write it once inside a functio

May 10 · 5 min read · javascript-hiteshdhayal.hashnode.dev  
Read the article

## Written by

[Hitesh Dhayal](https://hashnode.com/@hiteshdhayal)

@hiteshdhayal · gurugram

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

i am hitesh , i breathe and code

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
