src/promissory-arbiter.js
function merge (a, b) {
    var result = {};
    var x;

    for (x in a) {
      if (a.hasOwnProperty(x)) {
        result[x] = a[x];
      }
    }

    for (x in b) {
      if (b.hasOwnProperty(x)) {
        result[x] = b[x];
      }
    }

    return result;
  }
function merge (a, b) {
    var result = {};
    var x;

    for (x in a) {
      if (a.hasOwnProperty(x)) {
        result[x] = a[x];
      }
    }

    for (x in b) {
      if (b.hasOwnProperty(x)) {
        result[x] = b[x];
      }
    }

    return result;
  }
function merge ( a , b ) { var result = { } ; var x ; for ( x in a ) { if ( a . hasOwnProperty ( x ) ) { result [ x ] = a [ x ] ; } } for ( x in b ) { if ( b . hasOwnProperty ( x ) ) { result [ x ] = b [ x ] ; } } return result ; }
Returns a new object will all the properties of `a` and `b` giving b the priority.
Returns a new object will all the properties of a and b giving b the priority .