Given a named function utilized to handle a Promise value
Promise
function handlePromise(data) { // do stuff with `data` return data }
There is no difference, function(x){return f(x)} === f.
function(x){return f(x)} === f
For more info, you may want to read about eta-conversion in lambda calculus.