3 ms·
I read your link and found it to be very educational, but I don't believe it supports avoiding named function declarations, but rather named function expression
by function_seven 13y ago
I read your link and found it to be very educational, but I don't believe it supports avoiding named function declarations, but rather named function expressions, since those are the source of inconsistencies between browsers.
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!