---
title: "Discussion on \"What are the Types of Functions in JavaScript?\" | Hashnode"
description: "Discussion on \"What are the Types of Functions in JavaScript?\". There are 3 types of functions in JavaScript:\n\n-Anonymous functions\n-Named functions\n-Immediately Invoked Function Expression"
url: "https://hashnode.com/posts/what-are-the-types-of-functions-in-javascript/62a094a4aa709871a80bdd37"
---

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

Discussion

# [What are the Types of Functions in JavaScript?](https://tiberiusmairura.hashnode.dev/what-are-the-types-of-functions-in-javascript?utm_source=hashnode&utm_medium=feed)

There are 3 types of functions in JavaScript: -Anonymous functions -Named functions -Immediately Invoked Function Expression

Jun 8, 2022 · 2 min read · tiberiusmairura.hashnode.dev  
Read the article

-   [#functions](https://hashnode.com/tag/functions)
-   [#types-of-functions-in-javascript](https://hashnode.com/tag/types-of-functions-in-javascript)
-   [#begginers](https://hashnode.com/tag/begginers)

## Written by

[Tiberius Mairura](https://hashnode.com/@hermitex)

@hermitex · Nairobi, Kenya

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

Create, curate, teach.

Full-stack developer with experience using React, Spring Boot, MySQL, PostgreSQL and more. I like solving problems and building things people will love to use.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
