generator: remove parans around ConditionalExpression
This commit is contained in:
@@ -22,13 +22,11 @@ exports.UpdateExpression = function (node, print) {
|
||||
};
|
||||
|
||||
exports.ConditionalExpression = function (node, print) {
|
||||
this.push("(");
|
||||
print(node.test);
|
||||
this.push(" ? ");
|
||||
print(node.consequent);
|
||||
this.push(" : ");
|
||||
print(node.alternate);
|
||||
this.push(")");
|
||||
};
|
||||
|
||||
exports.NewExpression = function (node, print) {
|
||||
|
||||
Reference in New Issue
Block a user