---
title: "Discussion on \"Arrow Functions in JavaScript: A Simpler Way to Write Functions\n\" | Hashnode"
description: "Discussion on \"Arrow Functions in JavaScript: A Simpler Way to Write Functions\n\". Have you ever looked at JavaScript code and thought — \"Why is there so much boilerplate just to write a simple function?\"\nfunction add(a, b) {\n  return a + b;\n}\n\nWhat if I told you that this can be wr"
url: "https://hashnode.com/posts/arrow-functions-in-javascript-a-simpler-way-to-write-functions/69b589b1210c74252f06a530"
---

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

Discussion

# [Arrow Functions in JavaScript: A Simpler Way to Write Functions](https://arrowfunctionsinjavascriptasimplerwaytowritefunctions.hashnode.dev/arrow-functions-in-javascript-a-simpler-way-to-write-functions?utm_source=hashnode&utm_medium=feed)

Have you ever looked at JavaScript code and thought — "Why is there so much boilerplate just to write a simple function?" function add(a, b) { return a + b; } What if I told you that this can be wr

Mar 14 · 11 min read · arrowfunctionsinjavascriptasimplerwaytowritefunctions.hashnode.dev  
Read the article

-   [#chaicode](https://hashnode.com/tag/chaicode)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#arrow-functions-in-javascript](https://hashnode.com/tag/arrow-functions-in-javascript)

## Written by

[Smit Dudhatra](https://hashnode.com/@lts-dev)

@lts-dev

  
[View profile](https://hashnode.com/@lts-dev)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
