Be consistent with semicolons.

This commit is contained in:
Logan Smyth 2016-05-01 11:45:11 -07:00
parent c1ba5e6ac8
commit 67763085ab

View File

@ -100,7 +100,8 @@ export function DoWhileStatement(node: Object) {
this.keyword("while");
this.push("(");
this.print(node.test, node);
this.push(");");
this.push(")");
this.semicolon();
}
function buildLabelStatement(prefix, key = "label") {
@ -200,7 +201,8 @@ export function SwitchCase(node: Object) {
}
export function DebuggerStatement() {
this.push("debugger;");
this.push("debugger");
this.semicolon();
}
export function VariableDeclaration(node: Object, parent: Object) {