Like to ask about the differences in ES6 in function syntax - with and without curly braces.
both functions are working:
function with a curly braces:
const function = () => {some code;};
same function without curly braces:
const function = () => some code;
Thanks.