title: Make XMLHTTPrequest complete getting objects from json file if there is an error
body: <p>I use JavaScript to get json file from url dynamically. Everything works well till there is an object not existing in the file and the code below this object not executed and it complete executing codes out of the xml request. Now I want to make it complete even if the object not existing and complete executing the other objects which already exist but below the non existent object.</p>
  <pre><code>    var xhttp = new XMLHttpRequest();
  xhttp.onreadystatechange = function() {
      if (this.readyState == 4 &amp;&amp; this.status == 200) {
         // Getting objects after parsing here
      }
  };
  xhttp.open(&quot;GET&quot;, &quot;url&quot;, true);
  xhttp.send();
  </code></pre>