function f(...) {...} is (mostly) just a shortcut for var f = function(...) {...}. They each define a variable named f, with a function value.

Results

var callback = function(x) {
    log('received "' + x + '"');
}
 
var request = function() {
    $.get('request', callback);
}
 
request();