Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
3.1
-
None
Description
Consider the following script
{while(false) {}; var x = 1;}
The script parses correctly, but the script debugger produces the following code
{ while (false) { } var x = 1; }
Because the semicolon after the while is removed, the block syntax becomes invalid