* Remove whitespace generation and rely on default printing Changes to printing: * Add newline after last empty SwitchCase * Add newlines around block comments if they are non-flow comments or contain newlines * Fix a few more fixtures
19 lines
283 B
JavaScript
19 lines
283 B
JavaScript
function fn() {
|
|
while (true) {
|
|
(function () {
|
|
switch (true) {
|
|
default:
|
|
var foo = 4;
|
|
|
|
if (true) {
|
|
var bar = function () {
|
|
return foo;
|
|
};
|
|
|
|
console.log(bar());
|
|
}
|
|
|
|
}
|
|
})();
|
|
}
|
|
} |