Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

new blob javascript

//The Blob() constructor returns a new Blob object. The content of the blob
//consists of the concatenation of the values given in the parameter array.

const obj = {hello: 'world'};
const blob = new Blob([JSON.stringify(obj, null, 2)], {type : 'application/json'});
 
PREVIOUS NEXT
Tagged: #blob #javascript
ADD COMMENT
Topic
Name
5+2 =