---
title: "Discussion on \"JavaScript Struggles - Part 7 | functions\" | Hashnode"
description: "Discussion on \"JavaScript Struggles - Part 7 | functions\". Function in JavaScript just like most other languages is here to write less code and eliminate duplication. When we use a function it has to do something that's repeated and we wanted to isolate that piece of code.\nIn this article, I'll be explaining..."
url: "https://hashnode.com/posts/javascript-struggles-part-7-functions/63fa3bd94c268b15c043e8e4"
---

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

Discussion

# [JavaScript Struggles - Part 7 | functions](https://abdelrahmandwedar.hashnode.dev/javascript-struggles-part-7-functions?utm_source=hashnode&utm_medium=feed)

Function in JavaScript just like most other languages is here to write less code and eliminate duplication. When we use a function it has to do something that's repeated and we wanted to isolate that piece of code. In this article, I'll be explaining...

Feb 25, 2023 · 7 min read · abdelrahmandwedar.hashnode.dev  
Updated May 17, 2023  
Read the article

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

## Written by

[Abdelrahman Dwedar](https://hashnode.com/@Abedo)

@Abedo · Cairo, Egypt

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

Full-Stack Developer

I'm a Full-Stack web developer, desktop developer, and cross-platform developer. 17 years old from Egypt. Freelancing locally and globally.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
