title: Is there an alternative for File() constructor for Safari and IE?
body: <p>I am using the File() constructor for creating file object for uploading a blob file to the server. The following code works fine for Chrome, but fails for Safari and Internet Explorer.</p>
  
  <pre><code>image_url = new File([blob],file_name,{type: mimeString});
  </code></pre>
  
  <p>The code is breaking at this line and getting this error in console "FileConstructor is not a constructor" (evaluating 'new File([blob],file_name,{type: mimeString})')</p>
  
  <p>Using the FileReader API is an alternative to this but I am not able to fix this issue.</p>