const func = (x) => x * x; // expression body syntax, implied "return" const func2 = (x, y) => { return x + y; }; // with block body, explicit "return" needed
const func = (x) => x * x; // expression body syntax, implied "return" const func2 = (x, y) => { return x + y; }; // with block body, explicit "return" needed