Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var response = fetch('/test').then(function(response) {
- return response.json();
- }).then(function(responseJson) {
- });
- (async () => {
- const response = await fetch('/test');
- await response.json();
- })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement