---
title: "Discussion on \"Different Types of Function\" | Hashnode"
description: "Discussion on \"Different Types of Function\". Function Declaration\nFunction Expression\nAnonymous Function Expression\nArrow function\n\nFunction Declaration\nWhen a function is starting with keyword function that kind of function is known as function declration.\nex-\nfunction add(a,b){\nreturn a+b\n}\na..."
url: "https://hashnode.com/posts/different-types-of-function/61ed04a0a12088017fbeb3c2"
---

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

Discussion

# [Different Types of Function](https://lovekush.hashnode.dev/different-types-of-function?utm_source=hashnode&utm_medium=feed)

Function Declaration Function Expression Anonymous Function Expression Arrow function Function Declaration When a function is starting with keyword function that kind of function is known as function declration. ex- function add(a,b){ return a+b } a...

Jan 23, 2022 · 2 min read · lovekush.hashnode.dev  
Read the article

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

## Written by

[LoveKush Rajput](https://hashnode.com/@lovekush)

@lovekush · Dharamshala,Himanchal pradesh

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

Student

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
