Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const request = async () => {
- const response = await fetch(url);
- const json = await response.json();
- console.log(json);
- };
- let data = request();
- console.log(data);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement