title: How to map URL data in a Single object using Javascript?
body: <p>I have a single page application using vue js. Now I have to get data from 3 different source URL and then need to map in an object to use it on the application.</p>
  
  <p>Or is it better to get it from ONE URL after mapping it on the backend?</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>$.get(furl, function(data) {
    this.items1 = data;
  });
  
  $.get(furl, function(data) {
    this.items2 = data;
  });
  
  $.get(furl, function(data) {
    this.items3 = data;
  });
  // if I want to merge it here. I am not getting items1, items2, items3 here.</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"&gt;&lt;/script&gt;</code></pre>
  </div>
  </div>
  </p>