jspm_packages/npm/babel-core@5.8.38/lib/generation/node/parentheses.js
function ObjectExpression(node, parent) {
  if (t.isExpressionStatement(parent)) {
    // ({ foo: "bar" });
    return true;
  }

  if (t.isMemberExpression(parent) && parent.object === node) {
    // ({ foo: "bar" }).foo
    return true;
  }

  return false;
}
function ObjectExpression(node, parent) {
  if (t.isExpressionStatement(parent)) {
    // ({ foo: "bar" });
    return true;
  }

  if (t.isMemberExpression(parent) && parent.object === node) {
    // ({ foo: "bar" }).foo
    return true;
  }

  return false;
}
function ObjectExpression ( node , parent ) { if ( t . isExpressionStatement ( parent ) ) { // ({ foo: "bar" }); return true ; } if ( t . isMemberExpression ( parent ) && parent . object === node ) { // ({ foo: "bar" }).foo return true ; } return false ; }
Test if ObjectExpression needs parentheses.
Test if ObjectExpression needs parentheses .