Closed twada closed 2 years ago
Body of LabeledStatement or WithStatement can be single ExpressionStatement and causes SyntaxError when removed. So instead of removing it, replace it with empty BlockStatement.
Body of LabeledStatement or WithStatement can be single ExpressionStatement and causes SyntaxError when removed. So instead of removing it, replace it with empty BlockStatement.