Basically what the title says; I have a base64 string that encodes an image and I want to convert it into a blob so I can pass it into my File constructor. I realise many similar questions have been asked however many of the other answers make use of the atob function which has been deprecated; So im trying to look for alternatives.
Try this
var base64String = "dGVzdAo=";
var blob = new Blob([base64String], {type: 'text/plain'});