function testBlock() {
  // Test function expressions.
  {
    var x = function g() { return 'g'; } || function h() { return 'h'; };
    return x;
  }
}

// ----------------------------------------------------------------------------

var result = testBlock();
assertEquals('g', result());
assertEquals('g', result.name);

function testBlock() {
  // Test function expressions.
  {
    var x = function g() { return 'g'; } || function h() { return 'h'; };
    return x;
  }
}

// ----------------------------------------------------------------------------

var result = testBlock();
assertEquals('g', result());

Remove test that tests function instance name since that is non standard
Remove test that tests function instance name since that is non standard
