---
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?\". Understanding how functions are defined and used in JavaScript"
url: "https://hashnode.com/posts/function-declaration-vs-function-expression/69ad649486766ac3a62a7252"
---

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

Discussion

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

Understanding how functions are defined and used in JavaScript

Mar 8 · 5 min read · array-javascript-piyush.hashnode.dev  
Read the article

-   [#chaiaurcode](https://hashnode.com/tag/chaiaurcode)
-   [#chai-aur-code-web-dev-cohort-2026](https://hashnode.com/tag/chai-aur-code-web-dev-cohort-2026)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#function-declaration](https://hashnode.com/tag/function-declaration)
-   [#functions](https://hashnode.com/tag/functions)
-   [#function-expressions](https://hashnode.com/tag/function-expressions)

## Written by

[Piyush](https://hashnode.com/@piyushkumar70)

@piyushkumar70

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
