code: 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;
    }
docs: Returns a new object will all the properties of `a` and `b` giving b the priority.