title: How can I add an object inside another object in Javascript?
body: <p>My question is simple, I have 2 objects like this:</p>
  
  <pre><code>object1 = {
      content1: {}
  }
  
  object2 = {
      stuff: {},
      moreStuff: {}
  }
  </code></pre>
  
  <p>And I want to add the content of <strong>object2</strong> to <strong>content1</strong> (which is inside of <strong>object1</strong>). </p>
  
  <p>Like this:</p>
  
  <pre><code>object1 = {
      content1: {
          stuff: {},
          moreStuff: {}
      }
  }
  </code></pre>