Skip to content

Glossary: Software Design Patterns in JavaScript

Arrow function

Also written: arrow functions, =>

A short way to write an unnamed function, such as `(x) => Math.round(x * 100) / 100`. It is handy for tiny helpers, clocks and callbacks.

Where the book teaches it

Related terms

CallbackClosure