반 년 가까이 자바스크립트를 배우며 console.log()와 console.error()는 써봤지만, console.warn()은 오늘 처음 봤다.
According to MDN definition, console.warn() "outputs a warning message to the Web console."
error()와 비슷하게 쓰이는것 같다.
'JavaScriptVeryBeiginning' 카테고리의 다른 글
Immersive Course (0) | 2020.08.31 |
---|---|
두 번째 프리코스 4주 회고 (0) | 2020.08.28 |
TDD(Test-driven Development) (0) | 2020.08.06 |
문자열 vs. 변수 주의할 점 (0) | 2020.07.29 |
When should I use "else if" instead of "if"? (0) | 2020.07.29 |