Skip to content

Latest commit

 

History

History

00_async_review

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

Async Review

  1. Make an AJAX call to the Star Wars API and get the opening crawl for each film in the series. Once you have finished that, loop through the array of planets for each movie and make more AJAX calls to collect the name of each planet, organized by film. Then, console log an array of objects in which each object contains the opening crawl for a specific movie, along with the names of every planet featured in that movie.

BONUS

  1. Implement a simple version of Promise.all. This function should accept an array of promises and return an array of resolved values. If any of the promises are rejected, the function should catch them.