---
title: "Discussion on \"Function Declaration & Expression\" | Hashnode"
description: "Discussion on \"Function Declaration & Expression\". What is a Function?\n\nFunction-\n\nis a block of code that encapsulates with self contained behavior.\nis a set of organized instructions towards specific functionality.\ncode inside it runs only when it needed.\ncreates reusable code.\n\n\nDeclaration-\n\nDecl..."
url: "https://hashnode.com/posts/function-declaration-and-expression/627a8f6a199297a9505d4381"
---

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

Discussion

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

What is a Function? Function- is a block of code that encapsulates with self contained behavior. is a set of organized instructions towards specific functionality. code inside it runs only when it needed. creates reusable code. Declaration- Decl...

May 10, 2022 · 2 min read · mdarif.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#html5](https://hashnode.com/tag/html5)
-   [#css](https://hashnode.com/tag/css)
-   [#reactjs](https://hashnode.com/tag/reactjs)

## Written by

[Md Arif](https://hashnode.com/@mdarif)

@mdarif

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
