Advertisement
mikeymop

Untitled

Oct 18th, 2019
198
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.             const request = async () => {
  2.                 const response = await fetch(url);
  3.                 const json = await response.json();
  4.                 console.log(json);
  5.             };
  6.             let data = request();
  7.             console.log(data);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement