---
title: "Discussion on \"Difference between function declaration and function expression?\" | Hashnode"
description: "Discussion on \"Difference between function declaration and function expression?\". Function declaration\nThe first difference is name, when you create a function with a name, that is a function declaration( not an anonymous function). \n\nFunction expression\nA function expression work just like a function declaration or a function sta..."
url: "https://hashnode.com/posts/difference-between-function-declaration-and-function-expression/61196443ac5c985f3643691b"
---

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

Discussion

# [Difference between function declaration and function expression?](https://pritamkumar.hashnode.dev/difference-between-function-declaration-and-function-expression?utm_source=hashnode&utm_medium=feed)

Function declaration The first difference is name, when you create a function with a name, that is a function declaration( not an anonymous function). Function expression A function expression work just like a function declaration or a function sta...

Aug 15, 2021 · 1 min read · pritamkumar.hashnode.dev  
Read the article

-   [#2articles1week](https://hashnode.com/tag/2articles1week)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#functions](https://hashnode.com/tag/functions)

## Written by

[Pritam Kumar](https://hashnode.com/@pritamk)

@pritamk · India

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

I learn, Build, and share it with you people.

I am front-end developer.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
