Skip to content

Instantly share code, notes, and snippets.

@OleksivO OleksivO/post.js
Created Jan 16, 2019

Embed
What would you like to do?
the description for this gist
try {
const successResponse = yield fetch('url');
const parsedResponse = yield successResponse.json();
console.log(successResponse);
} catch(error) {
console.log(error)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.