---
title: "Discussion on \"JavaScript Arrow Functions vs Regular Functions\" | Hashnode"
description: "Discussion on \"JavaScript Arrow Functions vs Regular Functions\". In JavaScript, there are two main ways of writing functions. You can create functions using the regular function syntax. Or you can use the arrow function syntax.\nIn this article, you will learn how to use both options. You'll also learn about the di..."
url: "https://hashnode.com/posts/regular-vs-arrow-functions-javascript/66d45de3182810487e0ce10a"
---

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

Discussion

# [JavaScript Arrow Functions vs Regular Functions](https://freecodecamp.org/news/regular-vs-arrow-functions-javascript?utm_source=hashnode&utm_medium=feed)

In JavaScript, there are two main ways of writing functions. You can create functions using the regular function syntax. Or you can use the arrow function syntax. In this article, you will learn how to use both options. You'll also learn about the di...

Jan 16, 2024 · 8 min read · freecodecamp.org  
Updated Apr 2, 2025  
Read the article

-   [#front-end-development](https://hashnode.com/tag/front-end-development)
-   [#functions](https://hashnode.com/tag/functions)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#web-development](https://hashnode.com/tag/web-development)

## Written by

[Benjamin Semah](https://hashnode.com/@benjaminSemah)

@benjaminSemah · Accra, Ghana.

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

Articles on Web Development and Technical Writing

I am a full stack developer passionate about web accessibility. When I'm not behind the screens, you'll likely find me reading or going for a 5K run.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
