Skip to content

Instantly share code, notes, and snippets.

@patmigliaccio
Created April 4, 2019 20:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save patmigliaccio/6dcbb75808faebd7239f8d576cbe80f7 to your computer and use it in GitHub Desktop.
Save patmigliaccio/6dcbb75808faebd7239f8d576cbe80f7 to your computer and use it in GitHub Desktop.
patmigliaccio.com/resolving-nested-promises 4/4/19
[
{
id: '8190834',
commentIds: [ '0002434', '0002437', '0002440' ],
comments: [
{
id: '0002434',
content: 'Awesome post!'
},
{
id: '0002437',
content: 'I actually just taught my dog JavaScript.'
},
{
id: '0002440',
content: 'Please stop boring the people.'
}
]
},
{
id: '8190835',
commentIds: [ '0002436', '0002438', '0002439' ],
comments: [
{
id: '0002436',
content: 'Where can I find more information?'
},
{
id: '0002438',
content: 'What a title! Too bad I didn\'t read the article.'
},
{
id: '0002439',
content: 'Not quite sure where I am.'
},
]
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment