# Arrow Function

*noun*

say it: **“AIR-oh FUNGK-shun”** **/ˈæroʊ ˈfʌŋkʃən/**

A short way to write a JavaScript function with =>, such as p => p.price.

## What is **Arrow Function** in JavaScript?

**Arrow Function** — A compact function expression written with the => symbol.

```javascript
const total = (price, quantity) => price * quantity;
```

## In a sentence

- “I passed an **arrow function**, p => p.price &lt; 10, to filter.”

Level: Apprentice · [More JavaScript terms at this level](https://www.ask-codey.com/glossary?category=javascript&level=2)

Updated: November 9, 2026

Source: https://www.ask-codey.com/glossary/arrow-function
