Closed
Description
In the section for Arrow Functions, it reads:
// which can be shorter with explicit expression return
const add = (x, y) => x + y;
// if we want multiline, we can create an expression with ()
const add = (x, y) => x + y;
These seem the same, but I think the second example is supposed to be different.
Metadata
Metadata
Assignees
Labels
No labels