공부한 내용 📖 Module index.html에 추가한 많은 script파일은 main.js에 묶고 export default와 import를 통해 모듈화 할 수 있다. 비동기와 promise, async await를 통한 실습 더미데이터를 가진 todoList를 만든 후, XMLRequest를 통해 todoList를 외부에서 api호출을 통해 받아오기. export function request(url) { return new Promise((res, rej) => { const xhr = new XMLHttpRequest(); xhr.addEventListener("load", (e) => { if (xhr.readyState === 4) { if (xhr.status === 200) { res(J..