- Strict mode: function inside if

Uncaught SyntaxError: In strict mode code, functions can only be
declared at top level or immediately within another function.