title: How to download file using JavaScript only
body: <p>I have an only JavaScript page and <code>.asmx</code> page. I want to download file
  using only JavaScript how can I download the file. I want to download a particular resume.</p>
  
  <p><img src="https://i.stack.imgur.com/HW921.jpg" alt="image"></p>
  
  <p>I am getting resume here, </p>
  
  <pre><code>var res = data[i].resume;
  </code></pre>