Skip to content

Conversation

@bestdevhyo1225
Copy link

hyodol & YM - Pair Programming
Design and Implement the todos function

Copy link
Contributor

@crongro crongro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

다음 단계 할때 주의할 점 남겨드려요

  • 하나의 함수 말고, 함수를 여러개 만들기.
  • 리뷰남긴 것 수정하기.

4-1에서는 승인/머지 합니다

} , [] );*/

(type === 'all')
? console.log(`현재 상태 => todo : ${status['todo']}, doing : ${status['doing']}, done : ${status['done']}`)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

삼항연산자는 좀 간단한 부분에서 유용해보여요.
조건문을 사용하면 좋겠어요.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

수정했습니다!

const status = { 'todo': 0, 'doing': 0, 'done': 0 };

// for ..of 문
const list = [];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

그냥 list보다는 구체적인 이름이 좋죠.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

수정하여 push 했습니다.

@crongro crongro merged commit d9b1a87 into code-squad:bestdevhyo1225 Apr 15, 2019
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

Successfully merging this pull request may close these issues.

2 participants