Fixes #2777 Since we can't break after `return` and don't add `()` around ConditionalExpressions' tests, we end up with some weird indentation when breaking.
16 lines
394 B
JavaScript
16 lines
394 B
JavaScript
function foo() {
|
|
return this.hasPlugin("dynamicImports") && this.lookahead().type === tt.parenLeft.right;
|
|
}
|
|
|
|
function foo() {
|
|
return this.hasPlugin("dynamicImports") && this.lookahead().type === tt.parenLeft.right
|
|
? true
|
|
: false;
|
|
}
|
|
|
|
function foo() {
|
|
return this.calculate().compute().first.numberOfThings > this.calculate().compute().last.numberOfThings
|
|
? true
|
|
: false;
|
|
}
|