Arrow functions

Arrow functions

Let sayHi = () => alert("Hello!");
sayHi();

There's very simple and concise syntax for creating functions, that's often better than Function Expressions.

Syntax

Let sum = (a, b) => a + b;

Related concepts

Arrow functions — Structure map

Clickable & Draggable!

Arrow functions — Related pages: