1async function fetchABC() {
2 const [a, b, c] = await Promise.all([a(), b(), c()]);
3
4}
1let characterResponse = await fetch('http://swapi.co/api/people/2/')
2let characterResponseJson = await characterResponse.json()
3let films = await Promise.all(
4 characterResponseJson.films.map(async filmUrl => {
5 let filmResponse = await fetch(filmUrl)
6 return filmResponse.json()
7 })
8)
9console.log(films)
10