1//When there is only one parameter name, you can omit the parentheses around the parameter list. If the body is a single expression, rather than a block in braces, that expression will be returned from the function. So, these two definitions of square do the same thing:
2const square1 = (x) => { return x * x; };
3const square2 = x => x * x;