by function_seven · 12y ago · 0 comments
My takeaway is that it is wise to avoid using named expressions, but fine to stick with anonymous function assignments, or declared functions. To add a third example to your list:
var funcName = function(){};
function funcName(){}
var funcName = function funcName(){}; // <-- Danger!No comments yet.