Thanks, Brendan!
This lines up with what Luke Hoban presented at the last TC39 meeting. So
far, so good (but not a done deal by any means, of course). The main bone
of contention is the use of ! in promises future-proposed syntax.
! won't work, in my opinion. Besides being an eyesore, it
Kevin Smith wrote:
async function af() {}
{ async af() { } }
This lines up with what Luke Hoban presented at the last TC39 meeting.
So far, so good (but not a done deal by any means, of course). The main
bone of contention is the use of ! in promises future-proposed syntax.
The
While working on async functions, it has become apparent to me that we are
missing a generalizable syntax for function modifiers. The current
precedent for function modifiers is generators:
function* ...
{ *name() {} }
Unfortunately, this precedent requires that all modifiers be
3 matches
Mail list logo