-
I've arrived at a source of confusion while reading through Jessie's grammar documentation. Specifically, the section on Jessie's functions has me thinking that either the phrase "function functions, arrow functions, and concise method syntax" has been written twice by mistake, or maybe there's a lack of context that the author intended on providing in this section.
The confusion comes with seeing the clause in the initial sentence appear after "syntatic forms:" in the second sentence. Is the intent of this |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Thanks for this report. We do need clearer language. I'll leave this open until we improve the docs. To explain here, the issue is that generator functions, async functions, and async generator function each appear in several of these syntactic forms:
The point I was trying to make in the confusing text is that the last three rows are absent from Jessie across all the columns. Currently Jessie does include all four columns of the first row. But we are considering dropping |
Beta Was this translation helpful? Give feedback.
-
Since this doc, we have expanded the definition of Jessie to include async functions, but only under a severe restriction on where See |
Beta Was this translation helpful? Give feedback.
-
Ahh, i see! Thanks for the additional context there. Now, i can re-read the text and get a clear view on what's being expressed.
Looking forward to seeing jessie continue progressing. As an avid arrow function user, I have no qualms with leaving I'm not sure if there are specific instances where thanks again! @erights |
Beta Was this translation helpful? Give feedback.
Thanks for this report. We do need clearer language. I'll leave this open until we improve the docs.
To explain here, the issue is that generator functions, async functions, and async generator function each appear in several of these syntactic forms:
function
functionsfunction foo() {}
() => {}
{ foo() {} }
{ get foo() {} }
function* foo() {}
{ foo*() {} }
async function foo() {}
async () => {}
{ async foo() {} }
async function* foo() {}
{ async foo*() {} }
The point I was trying to make in the confusing text is that the last three rows are absent from Jessie across all the columns.
Currently Jessie …