# Arrow Function

A compact function expression written with the => symbol.

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

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

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

Level: Apprentice · [More JavaScript terms at this level](https://www.ask-codey.com/glossary/subjects/javascript/apprentice)

Updated: September 27, 2026

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