will give a syntax error such as Unexpected token (. The work-around is to enclose the expression in parentheses:
At least, in most environments this is a work-around. In JScript, both expressions are quietly ignored. No error message is given, and no return value results. In JScript, a more elaborate work-around is required:
... anything that includes the function expression as part of a wider expression will do.