fetch 를 이용하면 HTTP 요청을 보내고 응답을 받을 수 있다. 페어프로그래밍으로 진행된 fetch API 실습 중 Promise.all 을 이용한 부분이 가장 헷갈리고 어려웠다. 이 부분에 대해 글을 작성해보겠다. const newsURLs = 'http://localhost:4999/data/latestNews'; const weatherURLs = 'http://localhost:4999/data/weather'; function getNewsAndWeatherAll() { // TODO: Promise.all을 이용해 작성합니다 let result ={}; return Promise.all([fetch(newsURLs),fetch(weatherURLs)]) .then((response)=> ..