---
title: "Discussion on \"Function Expression vs. Function Declaration\" | Hashnode"
description: "Discussion on \"Function Expression vs. Function Declaration\". Format\n// Function Expression\nconst expression = function () {\n    console.log('this is a function expression);\n}\n\n// Function Declaration\nfunction declaration () {\n    console.log('this is a function declaration);\n}\n\nDifference\n\nName\n\nA function exp..."
url: "https://hashnode.com/posts/function-expression-vs-function-declaration/654db0cee02c4affbfc081d6"
---

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

Discussion

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

Format // Function Expression const expression = function () { console.log('this is a function expression); } // Function Declaration function declaration () { console.log('this is a function declaration); } Difference Name A function exp...

Nov 10, 2023 · 1 min read · jaeyeonjung.hashnode.dev  
Read the article

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

## Written by

[Jae Yeon Jung](https://hashnode.com/@jaeyeonjung)

@jaeyeonjung

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

Front end developer in Korea

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
