Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to create a blob javascript

new Blob([`${/*this part declares the value*/'<h1>Hello</h1><style>h1:after{content:"world!"}</style>'}`], {
    type: 'text/html'
})
 
PREVIOUS NEXT
Tagged: #create #blob #javascript
ADD COMMENT
Topic
Name
8+5 =