---
title: "How to create parameterize arrow function in JavaScript?"  
description: "How to create parameterize arrow function in JavaScript?"  
author: "Utpal Vishwas"  
published: 2023-10-08  
updated: 2023-10-09  
canonical: https://www.mindstick.com/forum/160055/how-to-create-parameterize-arrow-function-in-javascript  
category: "javascript"  
tags: ["javascript", "arrow function"]  
reading_time: 1 minute  

---

# How to create parameterize arrow function in JavaScript?

How to create parameterize [arrow function](https://www.mindstick.com/forum/160054/how-to-pass-parameter-values-in-javascript-arrow-function) in [JavaScript](https://www.mindstick.com/articles/874/how-to-create-watermark-text-for-textbox-by-using-javascript)?

## Replies

### Reply by Aryan Kumar

Creating a parameterized [arrow](https://answers.mindstick.com/qa/95602/which-country-test-flighted-arrow-3-anti-ballistic-missile-system-and-its-interceptors) [function](https://www.mindstick.com/articles/13001/multi-statement-table-valued-user-defined-function-in-sql-server) in JavaScript is straightforward. You can specify the function parameters within the parentheses after the arrow **=>** and then define the function body. Here's the basic syntax and an example of how to create a parameterized arrow function:

## Syntax:

```plaintext
const functionName = (parameter1, parameter2, ...) => {
  // Function body
};
```

You can create parameterized arrow functions with as many parameters as needed, and they can be used to perform various operations and calculations based on those parameters.


---

Original Source: https://www.mindstick.com/forum/160055/how-to-create-parameterize-arrow-function-in-javascript

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
