Noticed how when you printed greet the function definition was formatted differently?  Just like this:

Make sure to assemble {return "Hello " + user}.