Created
July 3, 2019 16:10
-
-
Save jsmanifest/ea10aec57153941679f36cf4f3392c96 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 api = { | |
async getTotalFrogs() { | |
return { | |
data: { | |
result: [ | |
{ name: 'bob the frog', tongueWidth: 50, weight: 8 }, | |
undefined, | |
{ name: 'kelly the last frog', tongueWidth: 20, weight: 2 }, | |
], | |
}, | |
} | |
}, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment