Exactly! You can write the function body over one or several lines and it works just the same.
Make sure to assemble {return "Hello " + user}.
{return "Hello " + user}