node_modules/vulcanize/node_modules/hydrolysis/lib/ast-utils/ast-value.js
/**
 * Block statement: find last return statement, and return its value
 */
Block statement: find last return statement, and return its value
Block statement : find last return statement and return its value
function blockStatementToValue(block) {
  for (var i=block.body.length - 1; i>= 0; i--) {
    if (block.body[i].type === "ReturnStatement")
      return returnStatementToValue(block.body[i]);
  }
}
function blockStatementToValue ( block ) { for ( var i = block . body . length - 1 ; i >= 0 ; i -- ) { if ( block . body [ i ] . type === "ReturnStatement" ) return returnStatementToValue ( block . body [ i ] ) ; } }
Block statement: find last return statement, and return its value
Block statement : find last return statement and return its value