---
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?\". Basic guide of defining a function in javascript by two types."
url: "https://hashnode.com/posts/function-declaration-vs-function-expression-what-s-the-difference/69b68d33f4eb2f8b044d90ee"
---

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

Discussion

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

Basic guide of defining a function in javascript by two types.

Mar 15 · 2 min read · function-declarationvsexpression.hashnode.dev  
Read the article

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

## Written by

[Shrikant Landage](https://hashnode.com/@shrikant3542)

@shrikant3542

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
