File() constructor in IE and Safari

The File() constructor is not supported in IE and Safari.

Is there a nice solution to this in Angular/JavaScript?

var file = new File(byteArrays, tempfilename, { type: contentType });

Source: javascript

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.