title: Merging given objects
body: <p>I am just learning javascript and I need to know how I will go about doing this please:</p>
  
  <p>Task: Merge the given objects into var C   </p>
  
  <pre><code>var a = {
      name: "Danny"
  };
  
  var b = {
      getName: function () {
           return this.name;
      }
  };
  </code></pre>
  
  <p>Output should be danny</p>
  
  <pre><code>var solve = function () {
      var C;
  
      var instance = new C();
  
      console.log("Name: "+ instance.getName());
  };
  solve();
  </code></pre>