Probably not the best question ever, but I have a doubt here.
Is there any difference writing this:
var myFunction = function myFunction () {};
myFunction.instance = null;
and this:
var myFunction = function () {};
myFunction.instance = null;
edit: read carefully please , this is not a duplicate of this var functionName = function() {} vs function functionName() {} The link above is explaining hoisting, here this is about assignement of two hoisted function, one anonymous, one not.