News for hackers. Stuff that matters.
Re:Why the (CoffeeScript) arrow matters by function_seven on Monday March 31, 2014 @03:42AM (#7500184)
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!

There are no comments on this comment yet.