Advertisement
Guest User

console.lol()

a guest
Jun 20th, 2019
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. console.lol = async () => {
  2.   const res = await fetch("https://icanhazdadjoke.com/", {
  3.     headers: {
  4.       Accept: "application/json"
  5.     }
  6.   });
  7.   const { joke } = await res.json();
  8.   return console.log("DA BUM TSS", joke);
  9. };
  10.  
  11. // console.lol()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement