You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We discussed in #10 that await* can be a thing, so we can look at YieldExpression: The YieldExpression allows whitespaces in yield * except line terminators between yield and *.
To align with current grammar and how JS developers feel about . notation. I think whitespaces should be allowed
awaitOps:
await . all
await . allSettled
await . race
await . any
I don't have strong opinion on line terminators. I am good with disallowing line terminators or allowing, and before . or/and after ..
The text was updated successfully, but these errors were encountered:
I’d personally prefer to forbid whitespace on either side of the dot, and i can’t recall the last time i even saw code that had any whitespace around the dot in any context - but consistency with new.target seems like the proper path to take.
Among the
.
related grammar productions, both MetaProperty and MemberExpression allow whitespaces around.
We discussed in #10 that
await*
can be a thing, so we can look at YieldExpression: The YieldExpression allows whitespaces inyield *
except line terminators betweenyield
and*
.To align with current grammar and how JS developers feel about
.
notation. I think whitespaces should be allowedI don't have strong opinion on line terminators. I am good with disallowing line terminators or allowing, and before
.
or/and after.
.The text was updated successfully, but these errors were encountered: