Concise JavaScript Function Syntax
If the arrow function only takes a single argument, you don’t need parentheses. You can’t remove parentheses on functions with no or multiple arguments.
If you’re only using one line of code, you don’t need the return keyword.
You can reduce the syntax further by removing the curly braces when you only have a single line of code







