title: How to create a File object from binary data in JavaScript
body: <p>I'm probably missing something simple here, but how would I create a File object in JavaScript given the binary data as received from an AJAX request?</p>
  
  <pre><code>$.ajax({
    url: "http://example.com/image.jpg",
    success: function(data) {
      // Convert binary data to File object
    }
  });
  </code></pre>