Why is it always easier to see the errors after hitting that "Send" button,
anyway?

Simplified and ASI corrected:

    AsyncFunctionDeclaration:
        "async" [NoNewLine] BindingIdentifier ...

        async F() {}

    AsyncFunctionExpression:
        "async" [NoNewLine] BindingIdentifier ...

        let F = async ƒ() {};


Slightly off-topic:  the reason I'm suggesting using "async" as a
contextual keyword instead of function! boils down to audience.  The way I
see it, the audience for generators are creators of sequence abstractions:
 intermediate to advanced users.  For those users, a sigil-char is just
fine.  But async functions will be written by users at all levels of
experience, and for that audience natural language-inspired syntax is
beneficial.
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to