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
the previous concern about for (;;) {} seems to be no problem at all.
as for removing EmptyStatement nodes, I am thinking that there may be a variety of similar optimizations that could be enabled/disabled via a transpiler flag.
e.g. We could use Babel Traverse to pre-process the AST prior to code generation. An
EmptyStatement
visitor could remove such nodes from the AST.concern: I wonder if
for (;;) {}
would produceEmptyStatement
nodes?The text was updated successfully, but these errors were encountered: