120
rated 0 times
[
122]
[
2]
/ answers: 1 / hits: 55582
/ 11 Years ago, sun, december 22, 2013, 12:00:00
As typeof returns object..
var MyBlob = new Blob(['test text'], {type : 'text/plain'});
console.log(typeof MyBlob) // object
is it too early to ask for a generic solution for checking whether or not a variable is a blob as it is not yet widely supported? Or how should I go about testing for blob type in browsers which already have it implemented?
More From » types