jspm_packages/npm/babel-core@5.8.38/lib/generation/generators/base.js
function BlockStatement(node, print) {
  this.push("{");
  if (node.body.length) {
    this.newline();
    print.sequence(node.body, { indent: true });
    if (!this.format.retainLines) this.removeLast("\n");
    this.rightBrace();
  } else {
    print.printInnerComments();
    this.push("}");
  }
}
function BlockStatement(node, print) {
  this.push("{");
  if (node.body.length) {
    this.newline();
    print.sequence(node.body, { indent: true });
    if (!this.format.retainLines) this.removeLast("\n");
    this.rightBrace();
  } else {
    print.printInnerComments();
    this.push("}");
  }
}
function BlockStatement ( node , print ) { this . push ( "{" ) ; if ( node . body . length ) { this . newline ( ) ; print . sequence ( node . body , { indent : true } ) ; if ( ! this . format . retainLines ) this . removeLast ( "\n" ) ; this . rightBrace ( ) ; } else { print . printInnerComments ( ) ; this . push ( "}" ) ; } }
Print BlockStatement, collapses empty blocks, prints body.
Print BlockStatement collapses empty blocks prints body .