I did look, but couldn’t find anything on named arrow functions were not 
included. I do sometimes find cases where I want recursion inside a class 
function definition, and still need access to `this`. Was it just seen as 
syntax bloat, or were there any complications to implementing it?

Obviously a contrived example, but something like this (using do syntax too)

    x.map(factorial(x) => do {
        if (x <= 1) {
            1;
        } else {
            x * factorial(x - 1)
        }
    });

_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to