SyntaxFix
Write A Post
Hire A Developer
Questions
My modern variant:
function blob2file(blobData) { const fd = new FormData(); fd.set('a', blobData); return fd.get('a'); }