Make void
a generic BindingIdentifier
#88
Labels
duplicate
This issue or pull request already exists
void
a generic BindingIdentifier
#88
The proposal currently only allows
using void = …
as a special form of the UsingDeclaration, adding a special case [+Using]void
Initializer to the LexicalBinding production.I think it would be more consistent to allow
void
in any place where a BindingIdentifier is allowed. This would allow a lot of useful patterns where currently_
is often used to indicate an unused variable (or_unused1
,_unused2
if multiple bindings were to be declared):The text was updated successfully, but these errors were encountered: