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
if (1)
foo();
for (var i = 0; i < 10; i++) {
foo();
}
for (var i = 0; i < 10; i++)
foo();
The last line should be indented, but it seems the semicolons in the brace-less for loop prevent the next line from being indented. I suspect the semicolons cause this problem because, for instance, for (;;) prevents the next line from being indented, but for(,,) does not.
The text was updated successfully, but these errors were encountered:
Consider:
The last line should be indented, but it seems the semicolons in the brace-less
for
loop prevent the next line from being indented. I suspect the semicolons cause this problem because, for instance,for (;;)
prevents the next line from being indented, butfor(,,)
does not.The text was updated successfully, but these errors were encountered: