Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

groupCollapsed / groupEnd 는 뭔가요? #20

Closed
dooly9 opened this issue Mar 27, 2017 · 1 comment
Closed

groupCollapsed / groupEnd 는 뭔가요? #20

dooly9 opened this issue Mar 27, 2017 · 1 comment

Comments

@dooly9
Copy link

dooly9 commented Mar 27, 2017

console.groupCollapsed('간단한` if 구문 연습');
if ( count === 10 ) {
   console.log("count is ten.");
} else {
   console.log("count isn't ten.");
}
console.groupEnd('간단한 if 구문 연습');
@yamoo9
Copy link
Owner

yamoo9 commented Mar 27, 2017

콘솔 화면에 뿌려줄 때 내부의 코드를 접힌 상태로 레이블을 만들어 출력해 줍니다.

그룹 명령 구문은 group 또는 groupCollapsed로 시작해서 groupEnd로 끝납니다.
groupgroupCollapsed 차이점은 콘솔에 펼쳐진 채로 혹은 접힌 채로 표시되는 것 뿐입니다.
주의할 점은 () 내부에 작성한 ID는 동일한 문자열이어야 합니다.

@yamoo9 yamoo9 closed this as completed Mar 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants