Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function getFromDataURL(u,f){
- fetch(u).then(a=>a.text().then(f));
- }
- // Example Use
- var c;
- getFromDataURL('https://pastebin.com/raw/PzgesDhD',(a)=>c=a);
- console.log(c);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement