Skip to content

Conversation

jlee0505
Copy link
Member

@jlee0505 jlee0505 commented Feb 1, 2023

  • unique 함수 (이터레이션)
  • unique 함수 (제너레이터)
  • groupby 함수 (이터레이션)
  • groupby 함수 (제너레이터)

@@ -2,46 +2,56 @@

// 어떤 것을 해볼까요?
const groupBy = (arr, callback) => {
return arr;
return arr.reduce((acc, val) => {
Copy link
Collaborator

Choose a reason for hiding this comment

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

reduce도 for..of 처럼 iterator로 돌아가나요?!

@roy-jung
Copy link

roy-jung commented Feb 1, 2023

이러면 충돌나서 머지 못해요- 이름폴더 만들어서 거기다 올려주시면 좋겠습니다~

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.

3 participants