Consider the following code.
Notice that a>
a>
Inside a(function b() {});, the function is a function expression and not a function declaration (only which are hoisted). You might have a look at var functionName = function() {} vs function functionName() {} for the difference.
a(function b() {});