-
-
Save mfrachet/ec8c57ff11ffb67def0e7576eb205b28 to your computer and use it in GitHub Desktop.
async
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 getPokemon = async () => { | |
const response = await fetch(); | |
const data = await response.json(); | |
return data.results; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment