Skip to content

Instantly share code, notes, and snippets.

@disnet
Created April 10, 2017 04:54
Show Gist options
  • Save disnet/f5962056783bd28362fc70e7b4d0c3ff to your computer and use it in GitHub Desktop.
Save disnet/f5962056783bd28362fc70e7b4d0c3ff to your computer and use it in GitHub Desktop.
fetch("/foo.json").then(resp => {
return resp.json();
}).then(json => {
return processJson(json);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment