Advertisement
Guest User

Untitled

a guest
Jun 26th, 2019
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. var response = fetch('/test').then(function(response) {
  2. return response.json();
  3. }).then(function(responseJson) {
  4. });
  5.  
  6. (async () => {
  7. const response = await fetch('/test');
  8. await response.json();
  9. })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement