promise
pending
초기상태fulfilled
rejected
async
, await
JavaScript 안에서 모든 키워드는 모두 객체다.
new
키워드로 객체를 생성할 수 있다.
new Promise를 생성하면, 그 객체 안에 있는 특성과 메서드를 불러온다.
const express = require("express"); //외부에서 불러온다
const app = express(); //실행할 코드를 변수에 담는다
const port = 3000;
res.send
를 사용해보았다오류해결
1. node.js 버전 업그레이드하기
빈칸역할