Created
July 16, 2024 23:11
-
-
Save gabrielschulhof/1c7c28f62fdb0412d2a0f3dc0b7a0f02 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const result = await fetch('https://some-place/some/path) | |
.then( | |
res => { | |
doSomethingComplicatedWith(res) | |
}, | |
err => { | |
console.log('Failed to fetch') | |
} | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment