Debuging - console.error VS console.dir

BigbrotherShin·2020년 4월 1일
0

Frontend

목록 보기
15/31
post-thumbnail

console.error(e)console.dir(e) 의 차이점

console.dir(e)객체 형식으로 에러를 로깅한다. 서버 요청이 에러가 있다면 response 항목에서 내용을 확인할 수 있다.

profile
JavaScript, Node.js 그리고 React를 배우는

0개의 댓글